Search:

Type: Posts; User: copeg

Search: Search took 0.09 seconds.

  1. Replies
    9
    Views
    7,190

    Re: Binary Search Tree

    That's essentially what the insertData function is in the code above. Just rename the two functions to conform to the UML
  2. Replies
    9
    Views
    7,190

    Re: Binary Search Tree

    The simplified textbook way of doing insert into a binary tree is to use recursion. Create a function that accepts a Node and (in your case) an int as parameters. Check if the node is null, if it is...
Results 1 to 2 of 2