By pattern

The shapes behind the questions

Interview problems reuse a small number of core ideas. Learn to recognise one, and every problem built on it stops feeling unfamiliar.