Skip to content

Glossary: Coding Interviews in Rust

Bottleneck

The part of the brute-force solution that costs the most time. You attack it first in the Better step, for example by replacing a slice `contains` with a `HashSet`.

Where the book teaches it

Related terms

Brute forceTrading space for time