Loading your feed…
Two pointers · Sliding window · Fast & slow pointers · Merge intervals · Cyclic sort · In-place linked list reversal · BFS · DFS · Two heaps · Subsets · Modified binary search · Top K elements · K-way merge · Topological sort · Union-find · Trie · Monotonic stack · 0/1 knapsack DP · LIS-style DP · Backtracking.
Solve 3–4 problems per pattern and write down how you recognised it.
Answers, step-by-step code solutions, and community discussions are reserved for verified members. Create your free account in 30 seconds to unlock answers, ask follow-up questions, and connect with peers.