Algorithms_in_C++ 1.0.0
Set of algorithms implemented in C++.
|
A simple tree implementation using structured nodes. More...
#include <iostream>
Classes | |
class | node |
class | Queue |
Functions | |
void | enqueue (node *n) |
node * | dequeue () |
void | Insert (node *n, int x) |
int | findMaxInLeftST (node *n) |
void | Remove (node *p, node *n, int x) |
void | BFT (node *n) |
void | Pre (node *n) |
void | In (node *n) |
void | Post (node *n) |
int | main () |
Variables | |
Queue | queue |
A simple tree implementation using structured nodes.
void BFT | ( | node * | n | ) |
node * dequeue | ( | ) |
int findMaxInLeftST | ( | node * | n | ) |
void In | ( | node * | n | ) |
void Insert | ( | node * | n, |
int | x ) |
int main | ( | void | ) |
void Post | ( | node * | n | ) |
void Pre | ( | node * | n | ) |