Search:

Type: Posts; User: phamminh91

Search: Search took 0.92 seconds.

  1. Replies
    5
    Views
    3,918

    [SOLVED] Re: Finding deepest node of tree??

    Oops, I am not supposed to post the exact code LOL :D.
  2. Replies
    5
    Views
    3,918

    [SOLVED] Re: Finding deepest node of tree??

    Here is my code: :cool:
    - First you need to find the depth/height of the tree.
    - Then traverses through each node, find the current depth and compare it with the maxDepth.
    - If condition...
Results 1 to 2 of 2