Skip to main content

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​

  1. Two Sum – Array – LeetCode
  2. Reverse String – String – LeetCode
  3. Valid Parentheses – Stack – LeetCode
  4. Merge Two Sorted Lists – Linked List – LeetCode
  5. Maximum Subarray – Arrays / Kadane's – LeetCode
  6. Climbing Stairs – DP (simple) – LeetCode
  7. Best Time to Buy and Sell Stock – Array / Greedy – LeetCode
  8. Symmetric Tree – Tree – LeetCode
  9. Path Sum – Tree – LeetCode
  10. Intersection of Two Arrays II – Hash Table – LeetCode

Intermediate​

  1. Add Two Numbers – Linked List – LeetCode
  2. Count and Say – String / Recursion – LeetCode
  3. Binary Tree Inorder Traversal – Tree / Stack – LeetCode
  4. Longest Substring Without Repeating Characters – Sliding Window – LeetCode
  5. Container With Most Water – Two Pointers – LeetCode
  6. 3Sum – Two Pointers – LeetCode
  7. Letter Combinations of a Phone Number – Backtracking – LeetCode
  8. Word Search – Backtracking – LeetCode
  9. Coin Change – DP (classic) – LeetCode
  10. Number of Islands – DFS / BFS – LeetCode

Advanced​

  1. Merge k Sorted Lists – Heap – LeetCode
  2. Maximum Subarray Sum with Size K (sliding window variant) – LeetCode
  3. Trapping Rain Water – Two Pointers – LeetCode
  4. Serialize and Deserialize Binary Tree – Tree / Design – LeetCode
  5. LRU Cache – Design – LeetCode
  6. Word Ladder – BFS / Graph – LeetCode
  7. Longest Consecutive Sequence – Union-Find or Hash – LeetCode
  8. Subarray Sum Equals K – Hash – LeetCode
  9. Minimum Window Substring – Sliding Window – LeetCode
  10. N-Queens – Backtracking – LeetCode

Happy practicing — you've got this.