binary tree number of nodes with a given level

Posted by sadatwins on Stack Overflow See other posts from Stack Overflow or by sadatwins
Published on 2010-05-17T22:01:24Z Indexed on 2010/05/17 22:10 UTC
Read the original article Hit count: 163

Filed under:
|
|
|

i need to write a program that counts the number of nodes from a certain level given in binary tree

i mean < numberofnodes(int level){} >

i tried writing it without any success because i don't how to get to a certain level then go to count number of nodes

© Stack Overflow or respective owner

Related posts about c++

Related posts about data