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.
Glossary: Coding Interviews in C++
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.