2(power)i or 2^i where i is level i=0,1,2,3.......... On Sun, Aug 21, 2011 at 1:27 AM, bugaboo <[email protected]> wrote:
> Anyone knows the algorithm to count the number of nodes at each level > in a binary tree. Providing the approach and logic better than the > actual code itself. > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > > -- **Regards SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT ALLAHABAD -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
