RoadmapsPlan 6 of 11
Study plan · Plan 6 of 11
DSA for Data Engineers: Focused 100–200 Pattern Roadmap
DSA roadmap for Data Engineering interviews: the recurring patterns in order, practised across roughly 100 to 200 problems.
Data Engineering interviews usually test DSA at an easy-to-medium level, with a bias toward problems that look like data processing. You do not need hundreds of hard puzzles. You need the recurring patterns, practised until they are automatic.
How to practise
- Learn the pattern, then solve problems in order of difficulty.
- State the brute force first, then optimise, then give time and space complexity.
- Write clean Python: clear names, small helper functions, edge cases (empty input, duplicates, ties).
- Re-solve problems you got wrong a week later.
The ranges per stage add up to roughly 100 to 200 problems in total. Stop a stage early once problems feel routine.
The plan
Stage 1
Arrays, strings and hashing
20–30 problemsFrequency counts, grouping, deduplication and lookups with dicts and sets.
Outcome
You default to a hash map when you need lookups and can state the complexity.
Open the Arrays, strings and hashing stageStart with
Stage 2
Two pointers and sliding windows
20–30 problemsPairs in sorted data, longest substring or subarray with a constraint, moving aggregates.
Outcome
You recognise window problems and keep them O(n).
Open the Two pointers and sliding windows stageStart with
Stage 3
Sorting, intervals and merging
15–25 problemsMerge overlapping intervals, meeting rooms, merging sorted streams.
Open the Sorting, intervals and merging stageOutcome
You can reason about interval overlap, which also appears in sessionisation and SCD logic.
Stage 4
Heaps and top-K
10–20 problemsTop K frequent items, K-way merge, running medians.
Open the Heaps and top-K stageOutcome
You use a heap for top-K and streaming problems.
Stage 5
Stacks and queues
10–15 problemsMatching brackets, monotonic stacks, BFS with deques.
Outcome
You choose a deque for queues and know why list.pop(0) is slow.
Open the Stacks and queues stageStart with
Stage 6
Binary search
10–15 problemsSearch in sorted data and on the answer space.
Open the Binary search stageOutcome
You write bug-free boundary conditions.
Stage 7
Graphs and trees (basics)
15–25 problemsBFS, DFS, topological sort for dependencies (the same idea behind DAG schedulers).
Outcome
You can order tasks with dependencies and detect cycles.
Open the Graphs and trees (basics) stageStart with
Stage 8
Data-processing problems
15–30 problemsParse logs, aggregate records, deduplicate events, join two lists, in Python and SQL.
Outcome
You solve 'process these records' problems cleanly in both languages.

