← All roadmaps
Computer Science · Very High demand
Data Structures & Algorithms roadmap
Data structures and algorithms are the core of technical interviews at product companies. Strong DSA signals problem-solving ability for SDE roles and top placements.
beginner
DSA Foundations
About 5 weeks
Topics
- Big-O notation and complexity analysis
- Arrays and strings: two pointers, basic patterns
- Sorting: bubble, insertion, merge, quick
- Searching: linear and binary search
- Recursion: base cases and call stacks
- Hash maps and sets for O(1) lookups
- Math for coding: GCD, primes, modular arithmetic
Free resources
GeeksforGeeks Data Structures
practice
GeeksforGeeks · Topic-wise explanations and problems.
NeetCode Roadmap
course
NeetCode · Structured path with video solutions.
NeetCode YouTube Channel
video
NeetCode · Clear animated problem walkthroughs.
HackerRank Algorithms Domain
practice
HackerRank · Graded problems with editorials.
Striver's A2Z DSA Sheet
practice
takeUforward · Popular curated problem list.
Hands-on practice
- Solve 40 easy array and string problems with complexity notes
- Implement merge sort, quicksort, and binary search from scratch
- Trace recursion call trees for 5 recursive problems
- Finish the NeetCode Arrays and Hashing section
Milestone checkpoint: You can analyze and solve easy problems: 40 solved with correct Big-O stated, sorts implemented from memory, and you can explain recursion's call stack.
intermediate
Core Patterns and Data Structures
About 8 weeks
Topics
- Linked lists: reversal, cycles, merging
- Stacks, queues, and monotonic stack patterns
- Trees: traversals, BST operations, LCA
- Heaps and priority queues for top-K problems
- Graphs: BFS, DFS, connected components
- Sliding window and two pointers mastery
- Binary search on answers
- Backtracking: subsets, permutations, N-queens
Free resources
LeetCode Problem Set
practice
LeetCode · The standard interview problem bank.
CP-algorithms
docs
cp-algorithms · Rigorous algorithm explanations.
NeetCode 150 Practice List
practice
NeetCode · 150 curated interview problems.
Abdul Bari Algorithms
video
Abdul Bari · University-style algorithm lectures.
GeeksforGeeks Graph Algorithms
article
GeeksforGeeks · Graph theory with code examples.
Hands-on practice
- Solve 80 medium problems across the 8 topic areas
- Implement a graph library: BFS, DFS, cycle detection
- Solve 10 backtracking problems with pruning
- Do 5 timed 90-minute mock problem sessions
Milestone checkpoint: You handle medium problems reliably: 80 solved, graph traversals coded from scratch, and you can pick the right pattern (window, heap, BFS) for a new problem.
advanced
Advanced Algorithms and Interview Mastery
About 10 weeks
Topics
- Dynamic programming: knapsack, LIS, interval patterns
- Tries, segment trees, and Fenwick trees
- Union-Find, Kruskal's, and MST
- Dijkstra, topological sort, and SCC
- Greedy algorithms and correctness proofs
- Bit manipulation tricks
- Timed contests and interview strategy
Free resources
LeetCode Study Plans
practice
LeetCode · Structured plans including DP study plan.
CP-algorithms Dynamic Programming
docs
cp-algorithms · Deep DP pattern catalog with proofs.
Codeforces Problemset
practice
Codeforces · Hard problems and live contests.
MIT 6.006 Introduction to Algorithms
course
MIT OpenCourseWare · Full university algorithms course.
interviewing.io
practice
interviewing.io · Anonymous peer mock interviews.
Hands-on practice
- Solve 50 hard problems with written solution explanations
- Implement segment tree, trie, and union-find from scratch
- Compete in 6 Codeforces rounds and upsolve failures
- Complete 5 full mock interviews with feedback notes
Milestone checkpoint: You are interview-ready: 50 hard problems solved, advanced structures implemented from memory, contest rating improving, and mock interviewers rate your communication strong.
Track your progress
Sign in to mark stages complete and watch your roadmap fill up on your dashboard.
Sign in