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 – ArrayLeetCode
  2. Reverse String – StringLeetCode
  3. Valid Parentheses – StackLeetCode
  4. Merge Two Sorted Lists – Linked ListLeetCode
  5. Maximum Subarray – Arrays / Kadane'sLeetCode
  6. Climbing Stairs – DP (simple)LeetCode
  7. Best Time to Buy and Sell Stock – Array / GreedyLeetCode
  8. Symmetric Tree – TreeLeetCode
  9. Path Sum – TreeLeetCode
  10. Intersection of Two Arrays II – Hash TableLeetCode

Intermediate

  1. Add Two Numbers – Linked ListLeetCode
  2. Count and Say – String / RecursionLeetCode
  3. Binary Tree Inorder Traversal – Tree / StackLeetCode
  4. Longest Substring Without Repeating Characters – Sliding WindowLeetCode
  5. Container With Most Water – Two PointersLeetCode
  6. 3Sum – Two PointersLeetCode
  7. Letter Combinations of a Phone Number – BacktrackingLeetCode
  8. Word Search – BacktrackingLeetCode
  9. Coin Change – DP (classic)LeetCode
  10. Number of Islands – DFS / BFSLeetCode

Advanced

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

Happy practicing — you've got this.