Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef TREE_H
- #define TREE_H
- typedef int TData;
- typedef struct Node{
- TData info;
- struct Node *izq,*der;
- }TNode;
- typedef struct Tree{
- TNode *root;
- }TTree;
- void crearArbol(TTree *);
- int insertar(TTree *, TData);
- void preorden(TNode*);
- void enorden(TNode*);
- void postorden(TNode*);
- int arbolVacio(TTree*);
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement