Questions
Master essential algorithms and data structures through curated problems. Progress from fundamentals to advanced topics with a proven learning path covering 17 key categories.
Arrays & Hashing
Master array manipulation and hash table techniques. Foundation patterns for solving complex algorithmic problems efficiently.
- EasyContains Duplicatearrays & hashing
- EasyTwo Sumarray, hash map
- EasyMajority Elementarrays & hashing, bit manipulation
- EasyRemove Elementarrays & hashing, two pointers
- EasyMost Frequent Element
- MediumConcatenation of Array
- MediumGroup Anagrams
- MediumProduct of Array Except Selfarrays & hashing
- MediumValid Sudokuarrays & hashing
- MediumLongest Consecutive Sequencearrays & hashing
- MediumSort Colorsarrays & hashing, two pointers
- EasyValid Anagramstring, hash map, sorting
Two Pointers
Learn efficient array and string manipulation using the two-pointer technique. Essential for optimizing solutions from O(n²) to O(n).
- EasyPalindrome Checker
- EasyIntersection of Two Linked Listslinked list, two pointers
- MediumTwo Sum II - Input Array Is Sortedtwo pointers
- Medium3Sumtwo pointers
- Medium4Sumtwo pointers
- MediumContainer With Most Watertwo pointers
- MediumBoats to Save People
- MediumLongest Palindromic Substring
- HardTrapping Rain Waterarray, two pointers, stack, monotonic stack
Stack
Master stack-based problem solving including monotonic stacks, expression evaluation, and parenthesis matching.
- EasyValid Parenthesesstack
- EasyImplement Stackstack, data structure design
- EasyImplement Stack using Queuesstack, queue
- MediumSimplify Pathstack, string
- MediumValid Parenthesis Stringstack, greedy
- MediumCar Fleetstack
- MediumDaily Temperaturesarray, stack, monotonic stack
- MediumEvaluate Reverse Polish Notation
- MediumAsteroid Collision
- MediumBaseball Game
- HardLongest Valid Parenthesesstack, dynamic programming
- HardLargest Rectangle in Histogramarray, stack, monotonic stack
- HardMaximum Frequency Stackstack, hash map
Binary Search
Master the binary search algorithm and its variations. Learn to solve problems in O(log n) time complexity.
Sliding Window
Learn to optimize subarray and substring problems using the sliding window technique for linear time solutions.
Linked List
Master linked list manipulation including reversal, cycle detection, merging, and pointer techniques.
- EasyReverse Linked Listlinked list, pointers
- EasyMerge Two Sorted Linked Listslinked list
- EasyLinked List Cycle Detectionlinked list
- EasyPalindrome Linked Listlinked list, two pointers
- MediumAdd Two Numberslinked list
- MediumCopy List with Random Pointerlinked list
- MediumRemove Nth Node From End of Listlinked list
- MediumReorder Linked Listlinked list
Trees
Build expertise in tree traversals, binary search trees, and tree manipulation. Foundation for advanced graph algorithms.
- EasyInvert Binary Treetrees
- EasyMaximum Depth of Binary Treetrees
- EasyBalanced Binary Treetrees
- EasyDiameter of Binary Treetrees
- MediumBinary Tree Inorder Traversal
- MediumBinary Tree Preorder Traversal
- MediumBinary Tree Postorder Traversal
- MediumBinary Tree Right Side View
- MediumConstruct Binary Tree from Preorder and Inorder Traversal
- HardSerialize and Deserialize Binary Treetrees
- HardBinary Tree Maximum Path Sumtrees
Tries
Learn trie (prefix tree) data structures for efficient string operations and word search problems.
Backtracking
Learn recursive backtracking for solving constraint satisfaction and combinatorial problems.
Heap / Priority Queue
Master heap data structures and priority queues for efficient top-K problems and scheduling algorithms.
Graphs
Master graph traversal algorithms (DFS, BFS), cycle detection, and connected component problems.
1D Dynamic Programming
Build dynamic programming foundations with 1D array problems. Essential preparation for complex DP patterns.
- EasyClimbing Stairsdynamic programming
- EasyMin Cost Climbing Stairsarray, dynamic programming
- MediumHouse Robberdynamic programming
- MediumCoin Changearray, dynamic programming, BFS
- MediumLongest Common Subsequence
- MediumMaximum Subarraydynamic programming
- MediumTribonacci Sequencedynamic programming
- MediumDice Waysdynamic programming
Intervals
Master interval problems including merging, scheduling, and overlap detection. Common in meeting room scenarios.
Greedy
Learn greedy algorithms for optimization problems. Make locally optimal choices to find global solutions.
Advanced Graphs
Advanced graph algorithms including topological sort, union find, and Eulerian paths.
2D Dynamic Programming
Advanced dynamic programming with 2D arrays and matrices. Master complex state transitions and optimizations.
Bit Manipulation
Master bitwise operations and bit manipulation tricks. Essential for low-level optimization and clever solutions.