hi, i need to find the number of nodes at each level of a binary tree..the
binary tree may not be balanced..

output:
Level 0 - 1 node
Level 1 - 2 nodes
Level 2-  3 nodes

and so on..based on the tree structure..I am not able to count at each
level..pls suggest a way to do that.

-- 
Harshal Choudhary

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algoge...@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to