Complete Binary Search Tree

Given a list of numbers, we could create a complete binary search tree.

Extra credit: Give a rule for picking i. Show that resulting tree is complete (i.e., deepest level is ``left justified''.)

Running time?


next up previous
Next: Recovering from Bad Luck Up: ROTATIONS Previous: ROTATIONS