Blog

Reference

The 21 DSA Topics That Cover 90% of Coding Interviews (Ranked by Frequency)

6 min read

Coding interviews feel infinite, but they're not. A surprisingly small set of patterns covers the overwhelming majority of what gets asked. If you order your study by frequency rather than by textbook chapter, you become interview-ready far sooner — because you're solid on the high-probability material before you've touched the rare stuff.

Here are the 21 topics, grouped by how often they actually appear.

Tier 1 — Show up constantly (master these first)

  1. Arrays & strings — the substrate of everything.
  2. Hashing / hash maps — the single highest-leverage tool.
  3. Two pointers
  4. Sliding window
  5. Binary search — and its sneaky "search on answer" variant.
  6. Sorting — plus knowing when not to sort.
  7. Recursion & backtracking

Tier 2 — Show up often (master before any real interview)

  1. Linked lists
  2. Stacks & queues (incl. monotonic stack)
  3. Trees — traversals, BST properties.
  4. Heaps / priority queues — top-K is everywhere.
  5. Graphs — BFS, DFS, topological sort.
  6. Dynamic programming — the 1D and 2D classics.
  7. Greedy
  8. Intervals

Tier 3 — Show up sometimes (role- and level-dependent)

  1. Bit manipulation
  2. Tries
  3. Union-Find (DSU)
  4. Shortest paths (Dijkstra, Bellman-Ford)
  5. Advanced DP (DP on trees, bitmask DP)
  6. Segment trees / Fenwick trees — rare outside competitive-leaning loops.

How to spend your time

Spend roughly half your prep on Tier 1, a third on Tier 2, and only what's left on Tier 3. The common failure is inverting this — burning weeks on segment trees while shaky on hashing. Interviewers sample from the top of this list far more than the bottom.

Your target role shifts a few items up or down (backend pulls graphs up; frontend pulls them down), but Tier 1 is universal. Anchor there, then specialise. If you want this sequencing handled for you — across the Apna College, Love Babbar, and Striver sheets at once — that's what SUITS does.

Keep reading

Guide

DSA for the Amazon SDE Interview — A Deep, Specific Guide

Amazon is the most predictable big-tech loop a fresher can prepare for — but only if you know its actual lean: grids and graphs over exotic DP, a debugging section in the OA, and Leadership Principles that quietly decide SDE-1 offers. Here's the deep, Amazon-only plan.

7 min read
Strategy

Company-Specific DSA Without LeetCode Premium (Free Alternatives)

LeetCode Premium's company tags cost roughly $35/month — and the moment you have an interview date, that paywall feels mandatory. It isn't. Here's how to reconstruct most of that signal for free, and the one thing Premium genuinely does better.

7 min read
The 21 DSA Topics That Cover 90% of Coding Interviews (Ranked by Frequency) | DSA Tracker