Step 01
Solve & document
Work the problem, then immediately write down the pattern and the trade-off — while it’s still fresh, not after moving on.
Case Study · Interview Prep
A pattern-first, multi-language collection of data structure and algorithm solutions and notes, built to keep interview prep — and mentoring juniors through it — fast to navigate instead of scattered across random files.
Built to answer “have I seen this pattern before?” in seconds, not minutes.
Problems are grouped by the underlying pattern — two pointers, sliding window, backtracking — so revision targets the concept, not just a topic label.
Key problems are solved in more than one language, which forces a cleaner understanding of the pattern itself, separate from any one syntax.
Each solution carries a short note on the trick, the complexity trade-off, and the mistake I made the first time through it.
Grouped checklists make it easy to sweep a whole pattern the night before an interview instead of hunting file by file.
Doubles as a shared reference when walking juniors through their own DSA prep — consistent structure, less re-explaining.
Every revision lives in git, so old approaches stay visible instead of being overwritten and lost.
Step 01
Work the problem, then immediately write down the pattern and the trade-off — while it’s still fresh, not after moving on.
Step 02
File the solution under its pattern folder rather than its source (LeetCode, HackerRank, coursework), so revision stays topic-driven.
Step 03
Before interviews or a mentoring session, sweep the relevant pattern folder instead of re-solving everything from scratch.
Full source
The full set of solutions, notes, and folder structure lives on GitHub — that’s the source of truth, kept current as prep continues.