Skip to content

Glossary: Coding Interviews in C++

Pattern

Also written: patterns

A solution shape that fits many problems, such as "remember what you've seen in a set". Signal words in a problem, like "first repeated" or "top k", point to the pattern to try.

Where the book teaches it

Related terms

Signal words