Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/shardulvs/dsa-sheet-backup

Backup of Strivers A2Z DSA Course/Sheet website
https://github.com/shardulvs/dsa-sheet-backup

Last synced: about 1 month ago
JSON representation

Backup of Strivers A2Z DSA Course/Sheet website

Awesome Lists containing this project

README

        

# Strivers-A2Z-DSA-Backup

> Hey there! 🌟 We've noticed that the [Strivers A2Z DSA Course/Sheet website](https://takeuforward.org/strivers-a2z-dsa-course/strivers-a2z-dsa-course-sheet-2/) has been down for hours recently, so we’ve created this backup. Here, you’ll find all the awesome DSA questions to keep your practice going smoothly, even if the original site is temporarily unavailable. Happy coding and stay motivated!

## Step 1 : Learn the basics (26 problems)

1. [Problem Link](https://practice.geeksforgeeks.org/problems/search-query-auto-complete/0?category%5B%5D=Strings&category%5B%5D=Strings&problemStatus=unsolved&difficulty%5B%5D=2&page=1&query=category%5B%5DStringsproblemStatusunsolveddifficulty%5B%5D2page1category%5B%5DStr)
2. [Problem Link](https://bit.ly/3Dqmgvx)
3. [Problem Link](https://practice.geeksforgeeks.org/problems/java-if-else-decision-making0924/0?category%5B%5D=Java&category%5B%5D=Java&difficulty%5B%5D=-2&page=1&query=category%5B%5DJavadifficulty%5B%5D-2page1category%5B%5DJava)
4. [Problem Link](https://practice.geeksforgeeks.org/problems/java-switch-case-statement3529/1)
5. [Problem Link](https://www.codingninjas.com/studio/problems/nth-fibonacci-number_74156?utm_source=striver&utm_medium=website&utm_campaign=a_zcoursetuf)
6. [Problem Link](https://practice.geeksforgeeks.org/problems/while-loop-printtable-java/1)
7. [Problem Link](https://bit.ly/3DqE0ac)
8. [Problem Link](https://www.youtube.com/watch?v=RRVYpIET_RU)
9. [Problem Link](https://practice.geeksforgeeks.org/problems/count-digits5716/1)
10. [Problem Link](https://leetcode.com/problems/reverse-integer/)
11. [Problem Link](https://leetcode.com/problems/palindrome-number/)
12. [Problem Link](https://practice.geeksforgeeks.org/problems/lcm-and-gcd4516/1)
13. [Problem Link](https://leetcode.com/problems/armstrong-number/)
14. [Problem Link](https://practice.geeksforgeeks.org/problems/sum-of-all-divisors-from-1-to-n4738/1)
15. [Problem Link](https://practice.geeksforgeeks.org/problems/minimum-number-of-jumps-1587115620/1)
16. [Problem Link](https://bit.ly/3K2epHv)
17. [Problem Link](https://bit.ly/3y2BiWz)
18. [Problem Link](https://practice.geeksforgeeks.org/problems/print-1-to-n-without-using-loops-1587115620/1)
19. [Problem Link](https://bit.ly/3LOkcBn)
20. [Problem Link](https://practice.geeksforgeeks.org/problems/sum-of-first-n-terms5843/1)
21. [Problem Link](https://practice.geeksforgeeks.org/problems/find-all-factorial-numbers-less-than-or-equal-to-n3548/0?problemType=functional&difficulty%5B%5D=-1&page=1&query=problemTypefunctionaldifficulty%5B%5D-1page1)
22. [Problem Link](https://practice.geeksforgeeks.org/problems/reverse-an-array/0)
23. [Problem Link](https://leetcode.com/problems/valid-palindrome/)
24. [Problem Link](https://leetcode.com/problems/fibonacci-number/)
25. [Problem Link](https://practice.geeksforgeeks.org/problems/frequency-of-array-elements-1587115620/0)
26. [Problem Link](https://leetcode.com/problems/frequency-of-the-most-frequent-element/)

## Step 2 : Learn Important Sorting Techniques (7 problems)

27. [Problem Link](https://bit.ly/3ppA6YJ)
28. [Problem Link](https://bit.ly/3w6yQx8)
29. [Problem Link](https://bit.ly/3JVcqot)
30. [Problem Link](https://bit.ly/3A30Anw)
31. [Problem Link](https://bit.ly/3QV65vI)
32. [Problem Link](https://bit.ly/3PxAWx1)
33. [Problem Link](https://bit.ly/3dsEbIK)

## Step 3 : Solve Problems on Arrays [Easy -> Medium -> Hard] (40 problems)

34. [Problem Link](https://bit.ly/3Pld280)
35. [Problem Link](https://bit.ly/3pFvBcN)
36. [Problem Link](https://leetcode.com/problems/check-if-array-is-sorted-and-rotated/#:~:text=Input%3A%20nums%20%3D%20%5B2%2C,no%20rotation\)%20to%20make%20nums.)
37. [Problem Link](https://leetcode.com/problems/remove-duplicates-from-sorted-array/#:~:text=Input%3A%20nums%20%3D%20%5B0%2C,%2C%203%2C%20and%204%20respectively.)
38. [Problem Link](https://leetcode.com/problems/rotate-array/)
39. [Problem Link](https://leetcode.com/problems/rotate-array/)
40. [Problem Link](https://leetcode.com/problems/move-zeroes/)
41. [Problem Link](https://bit.ly/3KcpHcB)
42. [Problem Link](https://bit.ly/3Ap7Onp)
43. [Problem Link](https://leetcode.com/problems/missing-number/)
44. [Problem Link](https://leetcode.com/problems/max-consecutive-ones/)
45. [Problem Link](https://leetcode.com/problems/single-number/)
46. [Problem Link](https://practice.geeksforgeeks.org/problems/longest-sub-array-with-sum-k0809/1?utm_source=youtube&utm_medium=collab_striver_ytdescription&utm_campaign=longest-sub-array-with-sum-k)
47. [Problem Link](https://practice.geeksforgeeks.org/problems/longest-sub-array-with-sum-k0809/1?utm_source=youtube&utm_medium=collab_striver_ytdescription&utm_campaign=longest-sub-array-with-sum-k)
48. [Problem Link](https://leetcode.com/problems/two-sum/)
49. [Problem Link](https://leetcode.com/problems/sort-colors/)
50. [Problem Link](https://leetcode.com/problems/majority-element/)
51. [Problem Link](https://leetcode.com/problems/maximum-subarray/)
52. [Problem Link](https://bit.ly/3SLFFhs)
53. [Problem Link](https://leetcode.com/problems/best-time-to-buy-and-sell-stock/)
54. [Problem Link](https://leetcode.com/problems/rearrange-array-elements-by-sign/)
55. [Problem Link](https://leetcode.com/problems/next-permutation/)
56. [Problem Link](https://bit.ly/3bZqbGc)
57. [Problem Link](https://leetcode.com/problems/longest-consecutive-sequence/solution/)
58. [Problem Link](https://leetcode.com/problems/set-matrix-zeroes/)
59. [Problem Link](https://leetcode.com/problems/rotate-image/)
60. [Problem Link](https://leetcode.com/problems/spiral-matrix/)
61. [Problem Link](https://leetcode.com/problems/subarray-sum-equals-k/)
62. [Problem Link](https://leetcode.com/problems/pascals-triangle/)
63. [Problem Link](https://leetcode.com/problems/majority-element-ii/)
64. [Problem Link](https://leetcode.com/problems/3sum/)
65. [Problem Link](https://leetcode.com/problems/4sum/)
66. [Problem Link](https://bit.ly/3w5QSzC)
67. [Problem Link](https://www.interviewbit.com/problems/subarray-with-given-xor/)
68. [Problem Link](https://leetcode.com/problems/merge-intervals/)
69. [Problem Link](https://leetcode.com/problems/merge-sorted-array/)
70. [Problem Link](https://bit.ly/3zWZoCs)
71. [Problem Link](https://bit.ly/3PtLWLM)
72. [Problem Link](https://leetcode.com/problems/reverse-pairs/)
73. [Problem Link](https://leetcode.com/problems/maximum-product-subarray/)

## Step 4 : Binary Search [1D, 2D Arrays, Search Space] (32 problems)

74. [Problem Link](https://leetcode.com/problems/binary-search/)
75. [Problem Link](https://bit.ly/3Cf398N)
76. [Problem Link](https://bit.ly/3CgDDjE)
77. [Problem Link](https://leetcode.com/problems/search-insert-position/#:~:text=Search%20Insert%20Position%20%2D%20LeetCode&text=Given%20a%20sorted%20array%20of,(log%20n)%20runtime%20complexity.)
78. [Problem Link](https://www.codingninjas.com/codestudio/problems/ceiling-in-a-sorted-array_1825401)
79. [Problem Link](https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array/)
80. [Problem Link](https://bit.ly/3SVcOqW)
81. [Problem Link](https://leetcode.com/problems/search-in-rotated-sorted-array/)
82. [Problem Link](https://leetcode.com/problems/search-in-rotated-sorted-array-ii/)
83. [Problem Link](https://leetcode.com/problems/find-minimum-in-rotated-sorted-array/)
84. [Problem Link](https://bit.ly/3dEvWJD)
85. [Problem Link](https://leetcode.com/problems/single-element-in-a-sorted-array/)
86. [Problem Link](https://leetcode.com/problems/find-peak-element/#:~:text=Find%20Peak%20Element%20%2D%20LeetCode&text=A%20peak%20element%20is%20an,to%20any%20of%20the%20peaks.)
87. [Problem Link](https://bit.ly/3JXtGcE)
88. [Problem Link](https://bit.ly/3zWNyrL)
89. [Problem Link](https://leetcode.com/problems/koko-eating-bananas/)
90. [Problem Link](https://leetcode.com/problems/minimum-number-of-days-to-make-m-bouquets/)
91. [Problem Link](https://leetcode.com/problems/find-the-smallest-divisor-given-a-threshold/)
92. [Problem Link](https://leetcode.com/problems/capacity-to-ship-packages-within-d-days/)
93. [Problem Link](https://leetcode.com/problems/kth-missing-positive-number/#:~:text=Given%20an%20array%20arr%20of,13%2C...%5D.)
94. [Problem Link](https://www.spoj.com/problems/AGGRCOW/)
95. [Problem Link](https://bit.ly/3MZQOct)
96. [Problem Link](https://leetcode.com/problems/split-array-largest-sum/)
97. [Problem Link](https://www.codingninjas.com/studio/problems/painter-s-partition-problem_1089557?utm_source=striver&utm_medium=website&utm_campaign=a_zcoursetuf)
98. [Problem Link](https://leetcode.com/problems/minimize-max-distance-to-gas-station/)
99. [Problem Link](https://leetcode.com/problems/median-of-two-sorted-arrays/)
100. [Problem Link](https://bit.ly/3Amcomr)
101. [Problem Link](https://bit.ly/3QNDw2W)
102. [Problem Link](https://leetcode.com/problems/search-a-2d-matrix/)
103. [Problem Link](https://leetcode.com/problems/search-a-2d-matrix-ii/)
104. [Problem Link](https://leetcode.com/problems/find-a-peak-element-ii/)
105. [Problem Link](https://bit.ly/3PvwuPk)

## Step 5 : Strings [Basic and Medium] (15 problems)

106. [Problem Link](https://leetcode.com/problems/remove-outermost-parentheses/)
107. [Problem Link](https://leetcode.com/problems/reverse-words-in-a-string/)
108. [Problem Link](https://leetcode.com/problems/largest-odd-number-in-string/)
109. [Problem Link](https://leetcode.com/problems/longest-common-prefix/)
110. [Problem Link](https://leetcode.com/problems/isomorphic-strings/)
111. [Problem Link](https://leetcode.com/problems/rotate-string/)
112. [Problem Link](https://leetcode.com/problems/valid-anagram/#:~:text=Given%20two%20strings%20s%20and,the%20original%20letters%20exactly%20once.&text=Constraints%3A,.length%20%3C%3D%205%20*%2010)
113. [Problem Link](https://leetcode.com/problems/sort-characters-by-frequency/)
114. [Problem Link](https://leetcode.com/problems/maximum-nesting-depth-of-the-parentheses/)
115. [Problem Link](https://leetcode.com/problems/roman-to-integer/)
116. [Problem Link](https://leetcode.com/problems/string-to-integer-atoi/)
117. [Problem Link](https://bit.ly/3CfQfYi)
118. [Problem Link](https://leetcode.com/problems/longest-palindromic-substring/)
119. [Problem Link](https://leetcode.com/problems/sum-of-beauty-of-all-substrings/)
120. [Problem Link](https://leetcode.com/problems/reverse-words-in-a-string/)

## Step 6 : Learn LinkedList [Single LL, Double LL, Medium, Hard Problems] (31 problems)

121. [Problem Link](https://bit.ly/3URZnst)
122. [Problem Link](https://bit.ly/3w9pEIt)
123. [Problem Link](https://leetcode.com/problems/delete-node-in-a-linked-list/)
124. [Problem Link](https://bit.ly/3Po7tpf)
125. [Problem Link](https://bit.ly/3Epriup)
126. [Problem Link](https://bit.ly/3V9wY1v)
127. [Problem Link](https://bit.ly/3QD4hHs)
128. [Problem Link](https://bit.ly/3QlEoMx)
129. [Problem Link](https://bit.ly/3w6hUaa)
130. [Problem Link](https://leetcode.com/problems/middle-of-the-linked-list/)
131. [Problem Link](https://leetcode.com/problems/reverse-linked-list/)
132. [Problem Link](https://leetcode.com/problems/reverse-linked-list/)
133. [Problem Link](https://leetcode.com/problems/linked-list-cycle/)
134. [Problem Link](https://leetcode.com/problems/linked-list-cycle-ii/)
135. [Problem Link](https://bit.ly/3dyXL6m)
136. [Problem Link](https://leetcode.com/problems/palindrome-linked-list/)
137. [Problem Link](https://leetcode.com/problems/odd-even-linked-list/)
138. [Problem Link](https://leetcode.com/problems/remove-nth-node-from-end-of-list/)
139. [Problem Link](https://leetcode.com/problems/delete-the-middle-node-of-a-linked-list/#:~:text=You%20are%20given%20the%20head,than%20or%20equal%20to%20x%20.)
140. [Problem Link](https://leetcode.com/problems/sort-list/)
141. [Problem Link](https://bit.ly/3Ceotvr)
142. [Problem Link](https://leetcode.com/problems/intersection-of-two-linked-lists/)
143. [Problem Link](https://bit.ly/3piCTD3)
144. [Problem Link](https://leetcode.com/problems/add-two-numbers/)
145. [Problem Link](https://bit.ly/3zuBr66)
146. [Problem Link](https://bit.ly/3zWPiBj)
147. [Problem Link](https://bit.ly/3FtJUtZ)
148. [Problem Link](https://leetcode.com/problems/reverse-nodes-in-k-group/)
149. [Problem Link](https://leetcode.com/problems/rotate-list/description/)
150. [Problem Link](https://bit.ly/3w9TKf8)
151. [Problem Link](https://leetcode.com/problems/copy-list-with-random-pointer/)

## Step 7 : Recursion [PatternWise] (25 problems)

152. [Problem Link](https://leetcode.com/problems/string-to-integer-atoi/)
153. [Problem Link](https://leetcode.com/problems/powx-n/)
154. [Problem Link](https://leetcode.com/problems/count-good-numbers/)
155. [Problem Link](https://bit.ly/3Pu0YBn)
156. [Problem Link](https://bit.ly/3podAiY)
157. [Problem Link](https://bit.ly/3QJ0vwc)
158. [Problem Link](https://leetcode.com/problems/generate-parentheses/)
159. [Problem Link](https://leetcode.com/problems/subsets/)
160. [Problem Link](https://bit.ly/3US225G)
161. [Problem Link](https://bit.ly/3SVf1me)
162. [Problem Link](https://www.codingninjas.com/studio/problems/subset-sum_630213?utm_source=striver&utm_medium=website&utm_campaign=a_zcoursetuf)
163. [Problem Link](https://leetcode.com/problems/combination-sum/)
164. [Problem Link](https://leetcode.com/problems/combination-sum-ii/)
165. [Problem Link](https://bit.ly/3C9GQRS)
166. [Problem Link](https://leetcode.com/problems/subsets-ii/)
167. [Problem Link](https://leetcode.com/problems/combination-sum-iii/)
168. [Problem Link](https://leetcode.com/problems/letter-combinations-of-a-phone-number/)
169. [Problem Link](https://leetcode.com/problems/palindrome-partitioning/)
170. [Problem Link](https://leetcode.com/problems/word-search/)
171. [Problem Link](https://leetcode.com/problems/n-queens/)
172. [Problem Link](https://practice.geeksforgeeks.org/problems/rat-in-a-maze-problem/1)
173. [Problem Link](https://leetcode.com/problems/word-break/)
174. [Problem Link](https://practice.geeksforgeeks.org/problems/m-coloring-problem-1587115620/1#)
175. [Problem Link](https://leetcode.com/problems/sudoku-solver/)
176. [Problem Link](https://leetcode.com/problems/expression-add-operators/)

## Step 8 : Bit Manipulation [Concepts & Problems] (18 problems)

177. [Problem Link](https://bit.ly/3Eo8JVW)
178. [Problem Link](https://practice.geeksforgeeks.org/problems/check-whether-k-th-bit-is-set-or-not-1587115620/1)
179. [Problem Link](https://practice.geeksforgeeks.org/problems/odd-or-even3618/1)
180. [Problem Link](https://leetcode.com/problems/power-of-two/)
181. [Problem Link](https://practice.geeksforgeeks.org/problems/count-total-set-bits-1587115620/1)
182. [Problem Link](https://practice.geeksforgeeks.org/problems/set-the-rightmost-unset-bit4436/1)
183. [Problem Link](https://practice.geeksforgeeks.org/problems/swap-two-numbers3844/1)
184. [Problem Link](https://leetcode.com/problems/divide-two-integers/)
185. [Problem Link](https://leetcode.com/problems/minimum-bit-flips-to-convert-number/)
186. [Problem Link](https://leetcode.com/problems/single-number/)
187. [Problem Link](https://leetcode.com/problems/subsets/)
188. [Problem Link](https://bit.ly/3T8xUCf)
189. [Problem Link](https://practice.geeksforgeeks.org/problems/two-numbers-with-odd-occurrences5846/1)
190. [Problem Link](https://bit.ly/3C165p8)
191. [Problem Link](https://practice.geeksforgeeks.org/problems/all-divisors-of-a-number/1?utm_source=youtube&utm_medium=collab_striver_ytdescription&utm_campaign=all-divisors-of-a-number)
192. [Problem Link](https://leetcode.com/problems/count-primes/)
193. [Problem Link](https://bit.ly/3SPGzbK)
194. [Problem Link](https://leetcode.com/problems/powx-n/)

## Step 9 : Stack and Queues [Learning, Pre-In-Post-fix, Monotonic Stack, Implementation] (30 problems)

195. [Problem Link](https://bit.ly/3QPJ39w)
196. [Problem Link](https://bit.ly/3C9HLli)
197. [Problem Link](https://leetcode.com/problems/implement-stack-using-queues/)
198. [Problem Link](https://leetcode.com/problems/implement-queue-using-stacks/)
199. [Problem Link](https://bit.ly/3w6PwVv)
200. [Problem Link](https://bit.ly/3PA7mY0)
201. [Problem Link](https://leetcode.com/problems/valid-parentheses/)
202. [Problem Link](https://leetcode.com/problems/min-stack/)
203. [Problem Link](https://bit.ly/3JWYj1P)
204. [Problem Link](https://bit.ly/3FwxK3j)
205. [Problem Link](https://bit.ly/3DrwCLI)
206. [Problem Link](https://bit.ly/3UaWJxk)
207. [Problem Link](https://bit.ly/3sNZ1a2)
208. [Problem Link](https://bit.ly/3T0gZ4P)
209. [Problem Link](https://leetcode.com/problems/next-greater-element-i/)
210. [Problem Link](https://leetcode.com/problems/next-greater-element-ii/)
211. [Problem Link](https://www.interviewbit.com/problems/nearest-smaller-element/)
212. [Problem Link](https://bit.ly/3Np2R2H)
213. [Problem Link](https://leetcode.com/problems/trapping-rain-water/)
214. [Problem Link](https://leetcode.com/problems/sum-of-subarray-minimums/)
215. [Problem Link](https://leetcode.com/problems/asteroid-collision/)
216. [Problem Link](https://leetcode.com/problems/sum-of-subarray-ranges/)
217. [Problem Link](https://leetcode.com/problems/remove-k-digits/)
218. [Problem Link](https://leetcode.com/problems/largest-rectangle-in-histogram/)
219. [Problem Link](https://leetcode.com/problems/maximal-rectangle/)
220. [Problem Link](https://leetcode.com/problems/sliding-window-maximum/)
221. [Problem Link](https://leetcode.com/problems/online-stock-span/)
222. [Problem Link](https://leetcode.com/accounts/login/?next=/problems/find-the-celebrity/)
223. [Problem Link](https://leetcode.com/problems/lru-cache/)
224. [Problem Link](https://leetcode.com/problems/lfu-cache/)

## Step 10 : Sliding Window & Two Pointer Combined Problems (12 problems)

225. [Problem Link](https://leetcode.com/problems/longest-substring-without-repeating-characters/)
226. [Problem Link](https://leetcode.com/problems/max-consecutive-ones-iii/)
227. [Problem Link](https://bit.ly/3D6d94w)
228. [Problem Link](https://leetcode.com/problems/longest-repeating-character-replacement/)
229. [Problem Link](https://leetcode.com/problems/binary-subarrays-with-sum/)
230. [Problem Link](https://leetcode.com/problems/count-number-of-nice-subarrays/)
231. [Problem Link](https://leetcode.com/problems/number-of-substrings-containing-all-three-characters/)
232. [Problem Link](https://leetcode.com/problems/maximum-points-you-can-obtain-from-cards/)
233. [Problem Link](https://leetcode.com/problems/longest-substring-with-at-most-k-distinct-characters/)
234. [Problem Link](https://leetcode.com/problems/subarrays-with-k-different-integers/)
235. [Problem Link](https://leetcode.com/problems/minimum-window-substring/)
236. [Problem Link](https://leetcode.com/problems/minimum-window-subsequence/)

## Step 11 : Heaps [Learning, Medium, Hard Problems] (17 problems)

237. [Problem Link](https://bit.ly/3TSxAHd)
238. [Problem Link](https://bit.ly/3weGgP3)
239. [Problem Link](https://bit.ly/3AbFrrI)
240. [Problem Link](https://bit.ly/3flmw7c)
241. [Problem Link](https://leetcode.com/problems/kth-largest-element-in-an-array/)
242. [Problem Link](https://bit.ly/3PvAOhK)
243. [Problem Link](https://bit.ly/3QLpaAs)
244. [Problem Link](https://leetcode.com/problems/merge-k-sorted-lists/)
245. [Problem Link](https://bit.ly/3TS3jcg)
246. [Problem Link](https://leetcode.com/problems/task-scheduler/)
247. [Problem Link](https://leetcode.com/problems/hand-of-straights/)
248. [Problem Link](https://leetcode.com/problems/design-twitter/)
249. [Problem Link](https://bit.ly/3QVb1jR)
250. [Problem Link](https://leetcode.com/problems/kth-largest-element-in-a-stream/#:~:text=Implement%20KthLargest%20class%3A,largest%20element%20in%20the%20stream.)
251. [Problem Link](https://www.interviewbit.com/problems/maximum-sum-combinations/)
252. [Problem Link](https://leetcode.com/problems/find-median-from-data-stream/)
253. [Problem Link](https://leetcode.com/problems/top-k-frequent-elements/)

## Step 12 : Greedy Algorithms [Easy, Medium/Hard] (16 problems)

254. [Problem Link](https://leetcode.com/problems/assign-cookies/)
255. [Problem Link](https://practice.geeksforgeeks.org/problems/fractional-knapsack-1587115620/1)
256. [Problem Link](https://www.geeksforgeeks.org/find-minimum-number-of-coins-that-make-a-change/)
257. [Problem Link](https://leetcode.com/problems/lemonade-change/)
258. [Problem Link](https://leetcode.com/problems/valid-parenthesis-string/)
259. [Problem Link](https://practice.geeksforgeeks.org/problems/n-meetings-in-one-room-1587115620/1)
260. [Problem Link](https://leetcode.com/problems/jump-game/)
261. [Problem Link](https://leetcode.com/problems/jump-game-ii/)
262. [Problem Link](https://practice.geeksforgeeks.org/problems/minimum-platforms-1587115620/1#)
263. [Problem Link](https://practice.geeksforgeeks.org/problems/job-sequencing-problem-1587115620/1#)
264. [Problem Link](https://leetcode.com/problems/candy/)
265. [Problem Link](https://bit.ly/3DYCIFb)
266. [Problem Link](https://bit.ly/3dtFqHG)
267. [Problem Link](https://leetcode.com/problems/insert-interval/)
268. [Problem Link](https://leetcode.com/problems/merge-intervals/)
269. [Problem Link](https://leetcode.com/problems/non-overlapping-intervals/)

## Step 13 : Binary Trees [Traversals, Medium and Hard Problems] (39 problems)

270. [Problem Link](https://bit.ly/3EsRmTM)
271. [Problem Link](https://bit.ly/3gn5Soh)
272. [Problem Link](https://bit.ly/3gn5Soh)
273. [Problem Link](https://www.codingninjas.com/codestudio/problems/tree-traversal_981269?utm_source=striver&utm_medium=website&utm_campaign=a_zcoursetuf)
274. [Problem Link](https://leetcode.com/problems/binary-tree-preorder-traversal/)
275. [Problem Link](https://leetcode.com/problems/binary-tree-inorder-traversal/)
276. [Problem Link](https://leetcode.com/problems/binary-tree-postorder-traversal/)
277. [Problem Link](https://leetcode.com/problems/binary-tree-level-order-traversal/)
278. [Problem Link](https://leetcode.com/problems/binary-tree-preorder-traversal/)
279. [Problem Link](https://leetcode.com/problems/binary-tree-inorder-traversal/)
280. [Problem Link](https://leetcode.com/problems/binary-tree-postorder-traversal/)
281. [Problem Link](https://leetcode.com/problems/binary-tree-postorder-traversal/)
282. [Problem Link](https://bit.ly/3T3oW9M)
283. [Problem Link](https://leetcode.com/problems/maximum-depth-of-binary-tree/)
284. [Problem Link](https://leetcode.com/problems/balanced-binary-tree/)
285. [Problem Link](https://leetcode.com/problems/diameter-of-binary-tree/)
286. [Problem Link](https://leetcode.com/problems/binary-tree-maximum-path-sum/)
287. [Problem Link](https://leetcode.com/problems/same-tree/)
288. [Problem Link](https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal/)
289. [Problem Link](https://leetcode.com/problems/boundary-of-binary-tree/)
290. [Problem Link](https://leetcode.com/problems/vertical-order-traversal-of-a-binary-tree/)
291. [Problem Link](https://practice.geeksforgeeks.org/problems/top-view-of-binary-tree/1)
292. [Problem Link](https://practice.geeksforgeeks.org/problems/bottom-view-of-binary-tree/1)
293. [Problem Link](https://leetcode.com/problems/binary-tree-right-side-view/)
294. [Problem Link](https://leetcode.com/problems/symmetric-tree/)
295. [Problem Link](https://bit.ly/3QA600D)
296. [Problem Link](https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree/)
297. [Problem Link](https://leetcode.com/problems/maximum-width-of-binary-tree/)
298. [Problem Link](https://bit.ly/3dEr73g)
299. [Problem Link](https://leetcode.com/problems/all-nodes-distance-k-in-binary-tree/)
300. [Problem Link](https://bit.ly/3wcg7k1)
301. [Problem Link](https://leetcode.com/problems/count-complete-tree-nodes/)
302. [Problem Link](https://bit.ly/3UVCR1U)
303. [Problem Link](https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal/)
304. [Problem Link](https://leetcode.com/problems/construct-binary-tree-from-inorder-and-postorder-traversal/)
305. [Problem Link](https://leetcode.com/problems/serialize-and-deserialize-binary-tree/)
306. [Problem Link](https://leetcode.com/problems/binary-tree-inorder-traversal/)
307. [Problem Link](https://leetcode.com/problems/binary-tree-inorder-traversal/)
308. [Problem Link](https://leetcode.com/problems/flatten-binary-tree-to-linked-list/)

## Step 14 : Binary Search Trees [Concept and Problems] (16 problems)

309. [Problem Link](https://bit.ly/3gprRLk)
310. [Problem Link](https://leetcode.com/problems/search-in-a-binary-search-tree/)
311. [Problem Link](https://practice.geeksforgeeks.org/problems/minimum-element-in-bst/1)
312. [Problem Link](https://practice.geeksforgeeks.org/problems/implementing-ceil-in-bst/1)
313. [Problem Link](https://bit.ly/3TSbXXE)
314. [Problem Link](https://leetcode.com/problems/insert-into-a-binary-search-tree/)
315. [Problem Link](https://leetcode.com/problems/delete-node-in-a-bst/)
316. [Problem Link](https://leetcode.com/problems/kth-smallest-element-in-a-bst/)
317. [Problem Link](https://leetcode.com/problems/validate-binary-search-tree/)
318. [Problem Link](https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree/)
319. [Problem Link](https://leetcode.com/problems/construct-binary-search-tree-from-preorder-traversal/)
320. [Problem Link](https://leetcode.com/problems/inorder-successor-in-bst/)
321. [Problem Link](https://leetcode.com/problems/binary-search-tree-iterator/)
322. [Problem Link](https://leetcode.com/problems/two-sum-iv-input-is-a-bst/)
323. [Problem Link](https://leetcode.com/problems/recover-binary-search-tree/)
324. [Problem Link](https://practice.geeksforgeeks.org/problems/largest-bst/1)

## Step 15 : Graphs [Concepts & Problems] (54 problems)

325. [Problem Link](https://bit.ly/3gpY19t)
326. [Problem Link](https://bit.ly/3dGuwyv)
327. [Problem Link](https://bit.ly/3dGuwyv)
328. [Problem Link](https://leetcode.com/problems/number-of-connected-components-in-an-undirected-graph/)
329. [Problem Link](https://practice.geeksforgeeks.org/problems/bfs-traversal-of-graph/1)
330. [Problem Link](https://practice.geeksforgeeks.org/problems/depth-first-traversal-for-a-graph/1)
331. [Problem Link](https://leetcode.com/problems/number-of-provinces/#:~:text=A%20province%20is%20a%20group,the%20total%20number%20of%20provinces.)
332. [Problem Link](https://bit.ly/3AxzhDG)
333. [Problem Link](https://leetcode.com/problems/rotting-oranges/)
334. [Problem Link](https://leetcode.com/problems/flood-fill/)
335. [Problem Link](https://practice.geeksforgeeks.org/problems/detect-cycle-in-an-undirected-graph/1?utm_source=youtube&utm_medium=collab_striver_ytdescription&utm_campaign=detect-cycle-in-an-undirected-graph)
336. [Problem Link](https://practice.geeksforgeeks.org/problems/detect-cycle-in-an-undirected-graph/1?utm_source=youtube&utm_medium=collab_striver_ytdescription&utm_campaign=detect-cycle-in-an-undirected-graph)
337. [Problem Link](https://leetcode.com/problems/01-matrix/)
338. [Problem Link](https://leetcode.com/problems/surrounded-regions/)
339. [Problem Link](https://leetcode.com/problems/number-of-enclaves/)
340. [Problem Link](https://leetcode.com/problems/word-ladder/)
341. [Problem Link](https://leetcode.com/problems/word-ladder-ii/)
342. [Problem Link](https://leetcode.com/problems/number-of-distinct-islands-ii/)
343. [Problem Link](https://leetcode.com/problems/is-graph-bipartite/)
344. [Problem Link](https://leetcode.com/problems/course-schedule-ii/discuss/293048/detecting-cycle-in-directed-graph-problem)
345. [Problem Link](https://practice.geeksforgeeks.org/problems/topological-sort/1)
346. [Problem Link](https://bit.ly/3c690mm)
347. [Problem Link](https://practice.geeksforgeeks.org/problems/detect-cycle-in-a-directed-graph/1)
348. [Problem Link](https://leetcode.com/problems/course-schedule/)
349. [Problem Link](https://leetcode.com/problems/course-schedule-ii/)
350. [Problem Link](https://leetcode.com/problems/find-eventual-safe-states/)
351. [Problem Link](https://leetcode.com/problems/alien-dictionary/solution/)
352. [Problem Link](https://bit.ly/3UVQD4C)
353. [Problem Link](https://bit.ly/3Eo1mhq)
354. [Problem Link](https://practice.geeksforgeeks.org/problems/implementing-dijkstra-set-1-adjacency-matrix/1)
355. [Problem Link](https://bit.ly/3Et6alk)
356. [Problem Link](https://leetcode.com/problems/shortest-path-in-binary-matrix/)
357. [Problem Link](https://leetcode.com/problems/path-with-minimum-effort/)
358. [Problem Link](https://leetcode.com/problems/cheapest-flights-within-k-stops/)
359. [Problem Link](https://leetcode.com/problems/network-delay-time/)
360. [Problem Link](https://leetcode.com/problems/number-of-ways-to-arrive-at-destination/)
361. [Problem Link](https://bit.ly/3QAEsrY)
362. [Problem Link](https://practice.geeksforgeeks.org/problems/distance-from-the-source-bellman-ford-algorithm/1)
363. [Problem Link](https://practice.geeksforgeeks.org/problems/implementing-floyd-warshall2042/1)
364. [Problem Link](https://leetcode.com/problems/find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance/)
365. [Problem Link](https://practice.geeksforgeeks.org/problems/minimum-spanning-tree/1)
366. [Problem Link](https://practice.geeksforgeeks.org/problems/minimum-spanning-tree/1)
367. [Problem Link](https://bit.ly/3QSGvHz)
368. [Problem Link](https://bit.ly/3QSGvHz)
369. [Problem Link](https://practice.geeksforgeeks.org/problems/minimum-spanning-tree/1)
370. [Problem Link](https://leetcode.com/problems/number-of-operations-to-make-network-connected/)
371. [Problem Link](https://leetcode.com/problems/most-stones-removed-with-same-row-or-column/)
372. [Problem Link](https://leetcode.com/problems/accounts-merge/)
373. [Problem Link](https://leetcode.com/problems/number-of-islands-ii/)
374. [Problem Link](https://leetcode.com/problems/making-a-large-island/)
375. [Problem Link](https://leetcode.com/problems/swim-in-rising-water/)
376. [Problem Link](https://leetcode.com/problems/critical-connections-in-a-network/discuss/382385/find-bridges-in-a-graph)
377. [Problem Link](https://bit.ly/3T2LPKu)
378. [Problem Link](https://bit.ly/3TbvByL)

## Step 16 : Dynamic Programming [Patterns and Problems] (56 problems)

379. [Problem Link](https://bit.ly/3UWkWrS)
380. [Problem Link](https://leetcode.com/problems/climbing-stairs/)
381. [Problem Link](https://bit.ly/3Xn0Kkw)
382. [Problem Link](https://bit.ly/3GyNRya)
383. [Problem Link](https://leetcode.com/problems/house-robber/)
384. [Problem Link](https://leetcode.com/problems/house-robber-ii/)
385. [Problem Link](https://bit.ly/3glc9kp)
386. [Problem Link](https://leetcode.com/problems/unique-paths/)
387. [Problem Link](https://leetcode.com/problems/unique-paths-ii/)
388. [Problem Link](https://leetcode.com/problems/minimum-path-sum/)
389. [Problem Link](https://leetcode.com/problems/triangle/)
390. [Problem Link](https://leetcode.com/problems/minimum-falling-path-sum/)
391. [Problem Link](https://bit.ly/3U9k6XT)
392. [Problem Link](https://practice.geeksforgeeks.org/problems/subset-sum-problem-1611555638/1)
393. [Problem Link](https://leetcode.com/problems/partition-equal-subset-sum/)
394. [Problem Link](https://leetcode.com/problems/partition-array-into-two-arrays-to-minimize-sum-difference/)
395. [Problem Link](https://bit.ly/3AwVr8I)
396. [Problem Link](https://bit.ly/3gkAM0s)
397. [Problem Link](https://leetcode.com/problems/assign-cookies/)
398. [Problem Link](https://leetcode.com/problems/coin-change/)
399. [Problem Link](https://leetcode.com/problems/target-sum/)
400. [Problem Link](https://leetcode.com/problems/coin-change-2/)
401. [Problem Link](https://bit.ly/3Cbc5fz)
402. [Problem Link](https://practice.geeksforgeeks.org/problems/rod-cutting0840/1)
403. [Problem Link](https://leetcode.com/problems/longest-common-subsequence/)
404. [Problem Link](https://bit.ly/3T1Va4U)
405. [Problem Link](https://practice.geeksforgeeks.org/problems/longest-common-substring1452/1)
406. [Problem Link](https://leetcode.com/problems/longest-palindromic-subsequence/)
407. [Problem Link](https://leetcode.com/problems/minimum-insertion-steps-to-make-a-string-palindrome/)
408. [Problem Link](https://leetcode.com/problems/delete-operation-for-two-strings/)
409. [Problem Link](https://leetcode.com/problems/shortest-common-supersequence/)
410. [Problem Link](https://leetcode.com/problems/distinct-subsequences/)
411. [Problem Link](https://leetcode.com/problems/edit-distance/)
412. [Problem Link](https://leetcode.com/problems/wildcard-matching/)
413. [Problem Link](https://leetcode.com/problems/best-time-to-buy-and-sell-stock/)
414. [Problem Link](https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii/)
415. [Problem Link](https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iii/description/)
416. [Problem Link](https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iv/)
417. [Problem Link](https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-cooldown/)
418. [Problem Link](https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-transaction-fee/)
419. [Problem Link](https://leetcode.com/problems/longest-increasing-subsequence/)
420. [Problem Link](https://bit.ly/3XiRbmG)
421. [Problem Link](https://bit.ly/3Pxf84L)
422. [Problem Link](https://leetcode.com/problems/largest-divisible-subset/)
423. [Problem Link](https://leetcode.com/problems/longest-string-chain/)
424. [Problem Link](https://practice.geeksforgeeks.org/problems/longest-bitonic-subsequence0824/1)
425. [Problem Link](https://leetcode.com/problems/number-of-longest-increasing-subsequence/)
426. [Problem Link](https://bit.ly/3Cgg36D)
427. [Problem Link](https://bit.ly/3Cgg36D)
428. [Problem Link](https://leetcode.com/problems/minimum-cost-to-cut-a-stick/)
429. [Problem Link](https://leetcode.com/problems/burst-balloons/)
430. [Problem Link](https://leetcode.com/problems/parsing-a-boolean-expression/)
431. [Problem Link](https://leetcode.com/problems/palindrome-partitioning-ii/)
432. [Problem Link](https://leetcode.com/problems/partition-array-for-maximum-sum/)
433. [Problem Link](https://leetcode.com/problems/maximal-rectangle/)
434. [Problem Link](https://leetcode.com/problems/count-square-submatrices-with-all-ones/)

## Step 17 : Tries (7 problems)

435. [Problem Link](https://leetcode.com/problems/implement-trie-prefix-tree/)
436. [Problem Link](https://bit.ly/3qwT4OL)
437. [Problem Link](https://bit.ly/3n3kedU)
438. [Problem Link](https://bit.ly/3ocRQW0)
439. [Problem Link](https://bit.ly/3Vw4XB1)
440. [Problem Link](https://leetcode.com/problems/maximum-xor-of-two-numbers-in-an-array/)
441. [Problem Link](https://leetcode.com/problems/maximum-xor-with-an-element-from-array/)

## Step 18 : Strings (9 problems)

442. [Problem Link](https://leetcode.com/problems/minimum-add-to-make-parentheses-valid/)
443. [Problem Link](https://leetcode.com/problems/count-and-say/)
444. [Problem Link](https://bit.ly/3glak75)
445. [Problem Link](https://leetcode.com/problems/repeated-string-match/discuss/416144/Rabin-Karp-algorithm-C%2B%2B-implementation)
446. [Problem Link](https://leetcode.com/problems/implement-strstr/)
447. [Problem Link](https://leetcode.com/problems/implement-strstr/)
448. [Problem Link](https://leetcode.com/problems/shortest-palindrome/)
449. [Problem Link](https://leetcode.com/problems/longest-happy-prefix/)
450. [Problem Link](https://practice.geeksforgeeks.org/problems/count-palindromic-subsequences/1#:~:text=Given%20a%20string%20str%20of,formed%20from%20the%20string%20str.&text=Your%20Task%3A,read%20input%20or%20print%20anything.)