Search:

Type: Posts; User: Norm

Search: Search took 0.13 seconds.

  1. Replies
    10
    Views
    1,389

    Re: Binary Tree insert(int value) method

    See the code in post#5
  2. Replies
    10
    Views
    1,389

    Re: Binary Tree insert(int value) method

    One hole in the code is the missing else statement at the end of the if/else if chain. There should be code there to catch missed conditions.
  3. Replies
    10
    Views
    1,389

    Re: Binary Tree insert(int value) method

    Please edit your post and wrap your code with code tags:


    YOUR CODE HERE

    to get highlighting and preserve formatting.
  4. Replies
    10
    Views
    1,389

    Re: Binary Tree insert(int value) method

    Can you post a sample of what the output should look like for the data that current program has?


    Try debugging the code by adding some println() statements that print out the values of variables...
  5. Replies
    10
    Views
    1,389

    Re: Binary Tree insert(int value) method

    Please explain.

    What should the program's output look like?

    The output that was posted is hard to read because it appears that the lines are run together. Can you separate the lines to make...
Results 1 to 5 of 5