Can anyone please help me with the algorithm to count the number of nodes in a binary tree?
Can anyone please help me with the algorithm to count the number of nodes in a binary tree?
Hello,
Have you tried some thing at your side, if you can post the code then it would really help us solve your problem. Also, what is the error you are getting when you try to compile the code. Just for information nodes in a binary tree have two directions one on the right and the other on the left. I think the left has the low value and the right has the high values. I guess you know that these all are related to data-structures and therefore the code is not quite easy, so, iI request you to post your code first .
Bookmarks