Career Tips

90-Day Data Structures & Algorithms (DSA) Study Plan for Coding Interviews

Stop grinding random coding problems without retention. Follow this structured 90-day DSA plan organized by recurring interview patterns and time-complexity intuition.

90-day Data Structures and Algorithms interview study roadmap
In This Guide
  1. Why Pattern Recognition Beats Raw Problem Count
  2. Your Week-by-Week 90-Day DSA Schedule
  3. Reading Input Constraints to Guess the Expected Complexity

Why Pattern Recognition Beats Raw Problem Count

Many students solve 300+ coding questions by looking at solutions after 5 minutes—yet freeze during an actual interview when a familiar problem is worded slightly differently. True DSA mastery comes from solving 150 to 180 thoughtfully selected problems across core patterns and revisiting missed problems after 3 days and 14 days.

Your Week-by-Week 90-Day DSA Schedule

WeeksCore TopicKey Patterns to MasterTarget Problems
Weeks 1–2Arrays, Strings & HashingPrefix Sum, Frequency Maps, Two Pointers, Sliding Window30
Weeks 3–4Sorting, Binary Search & RecursionBinary Search on Answer, Rotated Arrays, Backtracking templates25
Weeks 5–6Linked Lists, Stacks & QueuesFast/Slow Pointers, Reversal, Monotonic Stack, LRU Cache25
Weeks 7–8Binary Trees, BST & HeapsDFS/BFS Traversals, Diameter, LCA, Top-K / Merge-K with Priority Queue30
Weeks 9–10Graphs & TriesGrid BFS/DFS, Cycle Detection, Topological Sort, Dijkstra, Union-Find25
Weeks 11–12Dynamic Programming & Timed Mocks1D/2D DP, Knapsack, LCS, LIS + 6 full 45-minute timed mocks25

Reading Input Constraints to Guess the Expected Complexity

Before writing a single line of code in an online assessment, check the maximum input size N. It tells you which Big-O time complexity will pass without a Time Limit Exceeded (TLE) error:

  • N ≤ 20 → Exponential recursion / Backtracking / Bitmask DP (O(2^N) or O(N!))
  • N ≤ 1,000 → Nested loops / 2D Dynamic Programming (O(N^2))
  • N ≤ 100,000 → Sorting, Heap, Binary Search, Sliding Window, or Hash Map (O(N log N) or O(N))
  • N ≥ 10^9 → Binary Search or Mathematical formula (O(log N) or O(1))