BST Searching Flashcards
1
Q
What is the psudo code to use a binary search tree property to find a key in a BST?
A

2
Q
Using the binary search tree property, what would the path be to find 68 then 19 in the following tree?

A

3
Q
What is the code to implement a BST search iteratively?
A

4
Q
What is the code the BST class to search the BST recursively?
A

5
Q
What is the code for a recursive search in a BST?
What class is it found in?
A
The node class

6
Q
draw the recusriveSearch() calls in the class Node for the following tree searching for key 32:

A

7
Q
What is the code for the BST class?
A

8
Q
What is the code for the Node class used with a BST?
A
