Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void show_Tree(Node * Tree,int level = 1)
- {
- if(Tree)
- {
- show_Tree(Tree->r,level + 1);
- for(int i = 0;i< level;i++)
- cout <<" ";
- cout << Tree->x << endl;
- show_Tree(Tree->l,level + 1);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement