CS130-lecture-20201104

Midterm solutions #

IMAGE IMAGE IMAGE IMAGE IMAGE IMAGE IMAGE

Red-black BST exercise solution #

IMAGE IMAGE

IMAGE IMAGE

M is the number of children per node.

IMAGE

Each non-leaf node has between 3 and 5 children for above example. Each leaf node has between 3 and 5 data items.

IMAGE IMAGE IMAGE IMAGE IMAGE

Unordered symbol tables #

IMAGE IMAGE