What do the methods successor and predecessor do?
successor(k): brings back an iterator of all of the entries with keys that are greater than k
predecessor(k): with keys less then k
state 2 properties of binary search trees
Provide steps on how the insert method works in this context
insert(k,o)
provide steps to remove a node in a BST
Height of a BST implemented dictionary?
O(n) in worst and O(logn) at best