27/40
Part 5 of 7 · Inside a dictLearn and do

The table grows at two thirds full, so an insert is amortized O(1)

The table keeps at least a third of its buckets empty, so it has to grow as keys go in. Predict when this dict grows, then check.

Predict

A dict's table grows when it passes two thirds full. With 8 slots, which key makes it grow?

Pick an answer above to see the rest