|
-
December 5th, 2002, 11:43 PM
#1
Binary Tree Printing
Hi,
I need to print a binary tree
1. in the order of its level ( root, left & right child, children of the left & right nodes, its children & so on )
1, 2, 3, 4, 5, 6,7,8 .... where 2 & 3 are the children of 1, 4 & 5 are the children of 2, 6 & 7 are the children of 3 & so on...
2. print them in the following manner
1
2
3
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|