I have to make a function of binarytree class.
function will return the level with maximum number of nodes.
I m using the Linked representation of binary tree.
I have to make a function of binarytree class.
function will return the level with maximum number of nodes.
I m using the Linked representation of binary tree.
Crazy about filesharing
and your question is exactly what?
If you had generated the full functional binary tree , it would just be a matter for tree traversal.You have to design a method for tree traversal that would assist in finding the number of nodes on each level.
I can get you the code but give the detailed specification on how are you implementing the program?
Bookmarks