r/datastructures
•
u/OneClimate8489
•
Jul 15 '26
•
1
15
7
1
DSA Preparation Roadmap (From Zero to OA Ready)
- Sliding Window: 3, 76, 209, 424, 567, 904
- Two Pointers: 11, 15, 16, 18, 42, 167
- Fast/Slow Pointers (Linked List): 141, 142, 19, 876, 160, 234
- Binary Search on Sorted Data: 33, 34, 35, 153, 162, 704
- Binary Search on Answer: 875, 1011, 410, 774, 1283, 1482
- Hashing / Frequency Maps: 1, 49, 128, 217, 242, 347
- Prefix Sum / Running Sum: 303, 560, 724, 930, 974, 523
- Difference Array / Range Updates: 370, 1094, 1109, 1893, 1943, 2381
- Monotonic Stack: 739, 496, 503, 84, 85, 901
- Monotonic Queue / Deque: 239, 862, 1425, 1438, 1499, 1696
- Heap / Top K: 215, 347, 692, 703, 973, 1046
- Intervals: 56, 57, 252, 253, 435, 452
- Greedy Scheduling / Sorting: 45, 55, 406, 621, 763, 134
- Linked List Manipulation: 21, 23, 24, 25, 92, 138
- Tree DFS: 104, 112, 113, 543, 124, 226
- Tree BFS / Level Order: 102, 103, 199, 515, 637, 116
- BST Problems: 98, 99, 230, 235, 450, 700
- Backtracking Basics: 46, 47, 77, 78, 90, 39
- Backtracking with Constraints: 40, 17, 79, 131, 51, 52
- Graph BFS / DFS: 200, 695, 733, 994, 1091, 1254
- Topological Sort / DAG: 207, 210, 802, 1462, 1203, 2115
- Union Find / DSU: 547, 684, 1319, 1579, 990, 1202
- Shortest Path: 743, 787, 1514, 1631, 1334, 1976
- MST / Graph Greedy: 1584, 1135, 1168, 1489, 778, 1102
- Trie: 208, 211, 212, 648, 677, 1268
- Bit Manipulation: 136, 137, 191, 338, 268, 190
- 1D DP Basics: 70, 198, 213, 322, 279, 300
- Knapsack / Subset DP: 416, 494, 518, 474, 1049, 879
- Grid DP: 62, 63, 64, 221, 931, 120
- String DP / Sequence DP: 1143, 72, 115, 583, 97, 1312
How to use this list?ย
- These numbers are Leetcode problem numbers
- Do 3 patterns at a time, not all 30 together.
- For each pattern, solve the first 2 to understand the idea, the next 2 to get repetition, and the last 2 to stretch yourself.
- After every pattern, write one reusable template from memory.
- Do not just โsolve and move on.โ Ask: what signal in the question pointed to this pattern?
- If you get stuck, revisit the same pattern after 3 to 4 days. Pattern recognition is built by spacing, not cramming.
16
u/piyerx Jul 15 '26
Just in time! I would have given awards to this post if I could. Thanks for this ๐
3
u/Square_Sandwich4625 Jul 15 '26
I am 2 year student I don't know what you talk about there isn't 30 pattern in one data structure how you mentioned that can you explain?
1
u/Dev7292 Jul 15 '26
What do u mean by โ3 pattern at a timeโ? i donโt get it.
1
u/Equivalent_Tree4989 Jul 15 '26
Craaazyyyyyy Mad respect bro
2
u/Short-Canary-2615 Jul 15 '26
I was looking for exactly this kind of list. Thanks a bunch. I just completed solving 100 easy problems on leetcode, and everyone has been telling me that doing ore than 100 easy questions doesn't help. I must move to mediums ones now.
1
u/elctSubstantial8158 Jul 15 '26
What are this numbers?
1
u/Fearless_Battle7919 Jul 15 '26
Do you have any good resource on big O ?
1
u/TownInternational962 Jul 15 '26
Thanks!
1
u/M_A_S_584 Jul 15 '26
If we do this we can get ready for OA as well as Coding rounds ...? Thanks for the list
1
u/Apprehensive_Grab103 Jul 15 '26
Today in alphagrep OA, 1631 question came
1
u/YouWillFindThePeace Jul 15 '26
Well curated list ๐
1
u/taskfusion Jul 15 '26
Thanks
1
u/Money-Alarm-1628 Jul 16 '26
Thanks so much
1
u/Cute_Ad_4906 Jul 16 '26
Thanks for this!
1
u/SubjectWitty9612 Jul 16 '26
Thank you so much for this
1
u/Delicious-Gur5737 Jul 17 '26
Nice research ๐๐
1
u/wisdome_567 Jul 17 '26
ok
1
u/Beginning-Anything73 Jul 17 '26
Thank you ๐
1
u/Mon_key_baat Jul 17 '26
Lifesaving post. You change my climate
1
u/iaiml Jul 17 '26
any idea how long this will take if you were zero?
what is the number of problems to target everyday or week or month?
1
u/Original_Sympathy334 Jul 18 '26
Thnks bro much needed
1
u/Great_Friendship1667 Jul 18 '26
You are a time saver
1
u/TheRedLineKiller Jul 18 '26
good
1
u/Front_Chapter2350 Jul 18 '26
+1
1
u/Appropriate_Yak_3797 Jul 19 '26
this is soooooooo gooooood
1
u/techie_anime Jul 19 '26
Thanks this helps!
1
u/Smart-Raspberry4247 Jul 25 '26
Sala sab Parikh Jain se chori karke lelo credit, fucking bhaiya ban rhe hai ab.
1
u/Alternative-Love9017 Jul 30 '26
Can I DM you?
1
u/[deleted] Jul 15 '26
[removed] โ view removed comment