by, Subhajit Gorai
Date: 22/04/2026
PatternTypical difficultyMust-know problems
1Hash Map / Hash SetEasy–MediumTwo Sum, Group Anagrams, Longest Consecutive Sequence
2Two PointersEasy–MediumTwo Sum II, 3Sum, Container With Most Water
3Sliding WindowMediumLongest Substring Without Repeating Characters, Minimum Window Substring
4Prefix SumEasy–MediumSubarray Sum Equals K, Product Except Self
5Binary SearchEasy–MediumBinary Search, Search in Rotated Sorted Array, Koko Eating Bananas
6Stack / Monotonic StackMediumValid Parentheses, Daily Temperatures, Largest Rectangle in Histogram
7IntervalsMediumMerge Intervals, Insert Interval, Meeting Rooms
8Linked ListEasy–MediumReverse Linked List, Linked List Cycle, Reorder List
9Fast & Slow PointersEasy–MediumCycle Detection, Middle of Linked List, Happy Number
10Heap / Priority QueueMediumKth Largest Element, Top K Frequent Elements, Merge K Sorted Lists
11GreedyMediumJump Game, Gas Station, Partition Labels
12BacktrackingMedium–HardSubsets, Permutations, Combination Sum, N-Queens
13Trees: DFS/BFSEasy–MediumMaximum Depth, Level Order Traversal, Diameter
14BSTMediumValidate BST, Kth Smallest, Lowest Common Ancestor
15Graphs: BFS/DFSMediumNumber of Islands, Clone Graph, Course Schedule
16Topological SortMediumCourse Schedule I/II, Alien Dictionary
17Union Find / DSUMediumNumber of Connected Components, Redundant Connection
18Dynamic Programming: 1DMediumHouse Robber, Climbing Stairs, Coin Change
19Dynamic Programming: 2DMedium–HardUnique Paths, LCS, Edit Distance
20Bit ManipulationEasy–MediumSingle Number, Counting Bits, Missing Number
+
+
+
+