Skip to content

Glossary: Coding Interviews in Java

Bottleneck

The part of a brute-force solution that costs the most time, which you attack first. In the missing-ticket problem it is the `contains` check on a list.

Where the book teaches it

Related terms

Brute forceTrading space for time