Thank you, I had seen the example from Stanford but it would have involved me having to write another method for the left and right which would mean more code so I will carry on tinkering with my...
Type: Posts; User: 28mikes
Thank you, I had seen the example from Stanford but it would have involved me having to write another method for the left and right which would mean more code so I will carry on tinkering with my...
Thank you for the reply. What I mean is there a better way to write this recursive code rather than have to create another private method thats called by the main method like what I am currently...
I need help with binary trees, I have written a code to get all the nodes below a current Node and it is working but I need to get it to look better if possible. To get the number of nodes below I...