use levelorder traversal and calculate the number of node in same level by putting some condition :)
On Mon, Jul 26, 2010 at 1:53 PM, vineel yalamarth < vineelyalamar...@gmail.com> wrote: > > > No dude, they asked me to find width , in the sense ... find the maximum > number of nodes in any level. > And if you know how to find the diameter do post it.... > > > -- > 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<algogeeks%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > -- Thanks & Regards Umesh kewat -- 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.