assignment is not at all tough , i guess you should understand recursion to solve these question. for eg : in question 4.1 : you just need to swap line number 4 and line number 5 to get the solution.
in question 4.2 , you are given code for counting total number of nodes in the tree and for counting total number of leaves in the tree. soo.... dont you think all information is given and you just need to logically think to find the answer . read about what are internal nodes and after understanding it see what all question providing you , i hope you can get the answer. -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@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.