- Tutorials
- DSA Tutorial
- Interview Patterns
Interview Patterns
2 lessonsAbout 12 minutesAdvanced
This part of the DSA Tutorial runs from Recognising the Pattern through to How to Answer in an Interview. There are 2 lessons here, and working through them takes about 12 minutes at a steady pace.
It follows on from Matrix and 2D Arrays, so finish that first if you have not already — the examples below assume you are comfortable with it.
Each lesson below says what it covers before you open it. Read them in order the first time; afterwards this page works as a index you can jump back into when you need to check one thing.
- 1Recognising the PatternMost coding interview questions are one of about ten patterns. Learn the signals in a problem statement that point to sliding window, two pointers, BFS, DP and the rest.
- 2How to Answer in an InterviewHow to structure a coding interview answer: clarify, state the brute force, give complexity, then improve. A practical sequence that works even when you cannot see the optimal solution.
