Skip to content

Glossary: Coding Interviews in Go

Trading space for time

Also written: trade space for time

Using extra memory, such as a set or map, to make a solution faster, as the `seen` set does in the missing-ticket problem.

Where the book teaches it

Related terms

BottleneckHash map lookup and counting