DSA Practice Sheet
Welcome to your comprehensive DSA Practice Sheet. Below are 30 carefully curated algorithm and data structure practice questions, grouped by topic and difficulty. Each links to its LeetCode problem. Use the filters at the top to jump right into Beginner, Intermediate, or Advanced.
Filters
To quickly find questions by difficulty, use these links:
Beginner
- Two Sum – Array – LeetCode
- Reverse String – String – LeetCode
- Valid Parentheses – Stack – LeetCode
- Merge Two Sorted Lists – Linked List – LeetCode
- Maximum Subarray – Arrays / Kadane's – LeetCode
- Climbing Stairs – DP (simple) – LeetCode
- Best Time to Buy and Sell Stock – Array / Greedy – LeetCode
- Symmetric Tree – Tree – LeetCode
- Path Sum – Tree – LeetCode
- Intersection of Two Arrays II – Hash Table – LeetCode
Intermediate
- Add Two Numbers – Linked List – LeetCode
- Count and Say – String / Recursion – LeetCode
- Binary Tree Inorder Traversal – Tree / Stack – LeetCode
- Longest Substring Without Repeating Characters – Sliding Window – LeetCode
- Container With Most Water – Two Pointers – LeetCode
- 3Sum – Two Pointers – LeetCode
- Letter Combinations of a Phone Number – Backtracking – LeetCode
- Word Search – Backtracking – LeetCode
- Coin Change – DP (classic) – LeetCode
- Number of Islands – DFS / BFS – LeetCode
Advanced
- Merge k Sorted Lists – Heap – LeetCode
- Maximum Subarray Sum with Size K (sliding window variant) – LeetCode
- Trapping Rain Water – Two Pointers – LeetCode
- Serialize and Deserialize Binary Tree – Tree / Design – LeetCode
- LRU Cache – Design – LeetCode
- Word Ladder – BFS / Graph – LeetCode
- Longest Consecutive Sequence – Union-Find or Hash – LeetCode
- Subarray Sum Equals K – Hash – LeetCode
- Minimum Window Substring – Sliding Window – LeetCode
- N-Queens – Backtracking – LeetCode
Happy practicing — you've got this.