Skip to content

Glossary: Coding Interviews in C++

Bottleneck

The slowest or costliest part of a solution, such as searching a vector inside a loop. You attack it first when improving a brute-force answer.

Where the book teaches it

Related terms

Brute forceTrading space for time