Skip to content

Commit e7a0f8a

Browse files
Merge pull request #204 from mavishsethi/dsa
added dsa sheet
2 parents e4965ae + 2629ff0 commit e7a0f8a

File tree

1 file changed

+69
-0
lines changed

1 file changed

+69
-0
lines changed
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
---
2+
id: dsa-prepsheet
3+
title: DSA Practice Sheet
4+
sidebar_label: DSA Practice Sheet
5+
sidebar_position: 2
6+
---
7+
8+
# DSA Practice Sheet
9+
10+
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**.
11+
12+
---
13+
14+
## Filters
15+
16+
To quickly find questions by difficulty, use these links:
17+
18+
- [Beginner](#beginner)
19+
- [Intermediate](#intermediate)
20+
- [Advanced](#advanced)
21+
22+
---
23+
24+
## Beginner
25+
26+
1. Two Sum – **Array**[LeetCode](https://leetcode.com/problems/two-sum/)
27+
2. Reverse String – **String**[LeetCode](https://leetcode.com/problems/reverse-string/)
28+
3. Valid Parentheses – **Stack**[LeetCode](https://leetcode.com/problems/valid-parentheses/)
29+
4. Merge Two Sorted Lists – **Linked List**[LeetCode](https://leetcode.com/problems/merge-two-sorted-lists/)
30+
5. Maximum Subarray – **Arrays / Kadane's**[LeetCode](https://leetcode.com/problems/maximum-subarray/)
31+
6. Climbing Stairs – **DP (simple)**[LeetCode](https://leetcode.com/problems/climbing-stairs/)
32+
7. Best Time to Buy and Sell Stock – **Array / Greedy**[LeetCode](https://leetcode.com/problems/best-time-to-buy-and-sell-stock/)
33+
8. Symmetric Tree – **Tree**[LeetCode](https://leetcode.com/problems/symmetric-tree/)
34+
9. Path Sum – **Tree**[LeetCode](https://leetcode.com/problems/path-sum/)
35+
10. Intersection of Two Arrays II – **Hash Table**[LeetCode](https://leetcode.com/problems/intersection-of-two-arrays-ii/)
36+
37+
---
38+
39+
## Intermediate
40+
41+
11. Add Two Numbers – **Linked List**[LeetCode](https://leetcode.com/problems/add-two-numbers/)
42+
12. Count and Say – **String / Recursion**[LeetCode](https://leetcode.com/problems/count-and-say/)
43+
13. Binary Tree Inorder Traversal – **Tree / Stack**[LeetCode](https://leetcode.com/problems/binary-tree-inorder-traversal/)
44+
14. Longest Substring Without Repeating Characters – **Sliding Window**[LeetCode](https://leetcode.com/problems/longest-substring-without-repeating-characters/)
45+
15. Container With Most Water – **Two Pointers**[LeetCode](https://leetcode.com/problems/container-with-most-water/)
46+
16. 3Sum – **Two Pointers**[LeetCode](https://leetcode.com/problems/3sum/)
47+
17. Letter Combinations of a Phone Number – **Backtracking**[LeetCode](https://leetcode.com/problems/letter-combinations-of-a-phone-number/)
48+
18. Word Search – **Backtracking**[LeetCode](https://leetcode.com/problems/word-search/)
49+
19. Coin Change – **DP (classic)**[LeetCode](https://leetcode.com/problems/coin-change/)
50+
20. Number of Islands – **DFS / BFS**[LeetCode](https://leetcode.com/problems/number-of-islands/)
51+
52+
---
53+
54+
## Advanced
55+
56+
21. Merge k Sorted Lists – **Heap**[LeetCode](https://leetcode.com/problems/merge-k-sorted-lists/)
57+
22. Maximum Subarray Sum with Size K (sliding window variant) – [LeetCode](https://leetcode.com/problems/maximum-subarray-sum-with-size-k/)
58+
23. Trapping Rain Water – **Two Pointers**[LeetCode](https://leetcode.com/problems/trapping-rain-water/)
59+
24. Serialize and Deserialize Binary Tree – **Tree / Design**[LeetCode](https://leetcode.com/problems/serialize-and-deserialize-binary-tree/)
60+
25. LRU Cache – **Design**[LeetCode](https://leetcode.com/problems/lru-cache/)
61+
26. Word Ladder – **BFS / Graph**[LeetCode](https://leetcode.com/problems/word-ladder/)
62+
27. Longest Consecutive Sequence – **Union-Find or Hash**[LeetCode](https://leetcode.com/problems/longest-consecutive-sequence/)
63+
28. Subarray Sum Equals K – **Hash**[LeetCode](https://leetcode.com/problems/subarray-sum-equals-k/)
64+
29. Minimum Window Substring – **Sliding Window**[LeetCode](https://leetcode.com/problems/minimum-window-substring/)
65+
30. N-Queens – **Backtracking**[LeetCode](https://leetcode.com/problems/n-queens/)
66+
67+
---
68+
69+
Happy practicing — you've got this.

0 commit comments

Comments
 (0)