Search:

Type: Posts; User: CT&SC

Search: Search took 0.09 seconds.

  1. Replies
    4
    Views
    2,900

    [SOLVED] Re: adding items to a binary tree

    Here's some pseudocode. The implementation details I'll leave to you, as they're pretty easy.




    !!! assuming the existence of an array with arbitrary capacity, adds a new object to the end of...
  2. Replies
    4
    Views
    2,900

    [SOLVED] Re: adding items to a binary tree

    There's actually a very simple way to do this.

    Consider a simple array. We'll assume a variable sized array, which you can do in Java without too much trouble.

    Say you want to make a tree with...
Results 1 to 2 of 2