I have to write a program that calculates the number of nodes from a certain level given in the binary tree
I mean & lt; Numberfonds (int level) {}>
I tried to write it without any success because I do not know how nodes are counted to reach a certain level.
Do this with a recursive function which only descends at a certain level.
Comments
Post a Comment