Engineering Notes
Home/Algorithms & Coding Interviews/Practice Plan/Problem Roadmap & Study Plan
Algorithms & Coding Interviews · Practice Plan

Problem Roadmap & Study Plan

Patterns become interview-ready through timed repetition. Follow a roadmap of LeetCode problems grouped by pattern (with a core set if time is short), an 8-week schedule, a spaced-repetition routine and mock interviews, and track your progress right on this page.

🧮 Algorithms & Coding Interviews● Beginner⏱ 18 min read▶ 2 interactive

🎯 What you'll learn

  • How to work a problem with a timer
  • Spaced repetition that makes solutions stick
  • An 8-week plan and a 4-week core path
  • A pattern-ordered roadmap with a progress tracker

📚 Before you start

Part 1How to Practise

Knowing the patterns is half the job; the other half is timed repetition until recognizing and coding them is automatic. This page turns the algorithms track into a plan: a roadmap of 179 LeetCode problems grouped by pattern (96 marked ★ core: do these first if time is short), an 8-week schedule, a spaced-repetition routine, and a progress tracker. 134 of the problems are solved step by step, with animations, in the lessons of this track.

The weekly loop: learn a pattern, practise with a timer, review, and repeat older problems
The weekly loop: learn a pattern, practise with a timer, review, and repeat older problems

1How to Work a Problem

  1. Set a timer: 15 minutes for Easy, 25 for Medium, 40 for Hard. Use the method from algorithms/foundations/01-coding_interview_method out loud, even alone.
  2. Stuck after a third of the time? Write down what you tried, then read only the approach (not the code) and implement it yourself.
  3. Run the tests, then the edge cases, before submitting.
  4. Record one line: the pattern and the key insight ("monotonic stack: a warmer day pops colder days"). This line is what you review later.
  5. Mark it in the tracker below, with a note to repeat it.

2Spaced Repetition

Re-solve every problem you needed help with after 1, 3, 7 and 21 days, from a blank editor and against the timer. If you solve it cleanly twice in a row, retire it. Most people forget a solution within a week; two clean repeats are what makes the pattern stick in an interview.

DayActivity
Day 0Solve (or learn) the problem; write the one-line insight
Day 1Re-solve from scratch, timed
Day 3Re-solve; explain the solution out loud in 2 minutes
Day 7Re-solve; if clean twice in a row, retire it
Day 21Final check for anything not yet retired

3The 8-Week Plan (about 10–15 hours per week)

WeekLearn (lessons)Practise (roadmap groups)Also
1Method, Big-O, Arrays & Hashing, Two PointersArrays & Hashing, Two Pointersset up a daily 30-min repetition slot
2Sliding Window, Prefix Sums, Binary SearchSliding Window, Prefix Sums, Binary Searchfirst timed mock (2 Mediums, 50 min)
3Stacks, Queues & Deques, Linked Lists, IntervalsStacks, Linked Lists, Intervalsreview all week-1 problems
4Recursion & Backtracking, Tree Traversals, BSTsTrees, BSTs, Backtrackingmock interview with a friend or peer platform
5Heaps, Tries, Graph BFS/DFSHeaps, Tries, Graphsredo every ★ problem from weeks 1–2
6Topological Sort, Union-Find, Shortest PathsAdvanced Graphstimed mock: 1 Medium + 1 Hard
7Greedy, DP Fundamentals, Grid & Knapsack DPGreedy, 1-D DP, 2-D DPDP-only review day
8DP on Strings, Bits, Math & MatrixMath & Matrix, Bits, mixed random ★ problems3 full mock interviews; rest the day before

Short on time? Do only the ★ core problems (96), four per day on six days a week, with the same repetition schedule: about 4 weeks.

Senior candidates: coding rounds are usually Medium-level, but expectations around communication, testing and complexity are higher. Spend the time you save on system design and behavioural preparation.

4Mock Interviews

  • Solve with a camera on, or with a person, at least once a week from week 2.
  • Use the 45-minute budget: 5 clarify, 5 plan, 20 code, 8 test, 7 discussion.
  • Afterwards, score yourself on the five rubric dimensions (problem solving, coding, communication, verification, complexity) and pick one to improve next time.

⚠️ Common Pitfalls

  1. Reading solutions instead of solving: recognition is not recall. Always re-solve from a blank editor.
  2. Grinding volume without repetition: 150 problems solved once each is worth less than 75 solved three times.
  3. Never timing yourself, so interview pace comes as a shock.
  4. Practising silently: in interviews you must think out loud.
  5. Skipping easy problems: they're where you build speed and clean coding habits.

📋 Quick Reference

text
Timer: Easy 15 · Medium 25 · Hard 40 minutes
Stuck at 1/3 time → read the approach only → implement yourself
Repeat after 1, 3, 7, 21 days; retire after two clean solves
Core path: ★ problems, 4 per day, ~4 weeks · Full path: 8 weeks
Part 2The Roadmap

179 problems in pattern order. ★ = core. Links in the last column open the lesson where the problem is solved step by step.

1Progress Tracker

Tick problems as you solve them; progress is saved in this browser.

2The Roadmap by Pattern

Arrays & Hashing

Two Pointers

Sliding Window

Prefix Sums

Stacks & Monotonic Stack

Linked Lists

Intervals

Trees

Binary Search Trees

Heaps & Top-K

Backtracking

Tries

#ProblemDifficultyCoreWorked walkthrough
208Implement TrieMedium★Tries
211Design Add and Search WordsMedium★Tries
212Word Search IIHard★Tries
1268Search Suggestions SystemMediumTries
648Replace WordsMediumTries

Graphs

Advanced Graphs

1-D Dynamic Programming

2-D Dynamic Programming

Greedy

#ProblemDifficultyCoreWorked walkthrough
53Maximum SubarrayMedium★Greedy
55Jump GameMedium★Greedy
45Jump Game IIMediumGreedy
134Gas StationMediumGreedy
846Hand of StraightsMediumGreedy
763Partition LabelsMedium★Greedy
678Valid Parenthesis StringMedium
122Best Time to Buy and Sell Stock IIMedium

Math & Matrix

Bit Manipulation

🧠 Key takeaways

  • Practise with a timer and out loud; read only the approach when stuck.
  • Spaced repetition (1, 3, 7, 21 days) beats raw problem count.
  • Follow the 8-week plan, or the ★ core path in about 4 weeks.
  • Run a weekly mock interview and score yourself on the five rubric dimensions.

✅ Check yourself

Answer the questions — feedback is instant.

1. You're stuck on a Medium after 9 minutes of a 25-minute budget. Best move?
Learn actively.
2. When should you retire a problem from repetition?
Two clean repeats.
3. Why practise out loud?
Communication is a rubric dimension.
4. Better preparation: 150 problems once each, or 75 problems three times each?
Repetition builds recall.