LeetCode was HARD until I Learned these 15 Patterns

preview_player
Показать описание

Resource mentioned in the video:

In this video, I share 15 most important LeetCode patterns I learned after solving more than 1500 problems.
These patterns cover many important data structures and algorithms important for coding interviews.



Stay in touch:

Рекомендации по теме
Комментарии
Автор

Thanks for watching guys!
Making this video took a while but it leveled up my editing skills big time 😊

ashishps_
Автор

0:33 => Prefix Sum
1:25 => Two Pointer
2:05 => Sliding Window
2:54 => Fast & Slow Pointer
3:39 => Linked List In-Place Reversal
4:36 => Monotonic Stack
5:26 => Top 'k' Elements
6:14 => Quick Select
6:33 => Overlapping Intervals
7:25 => Modified Binary Search
8:56 => Depth-First Search(DFS)
9:32 => Breadth-First Search(BFS)
10:11 => Matrix Traversal
11:04 => Backtracking
11:52 => Dynamic Programming

vaibhavshukla
Автор

You have solved 1583 problems on leetcode, that's great. But even greater is that by making this one video you are solving millions of DSA learners problem.

maheshkoti
Автор

Prefix Sum
303. Range Sum Query - Immutable
525. Contiguous Array
560. Subarray Sum Equals K

Two Pointers
167. Two Sum II - Input Array is Sorted
15. 3 Sum
11. Container with most water

Sliding Window
643. Maximum Average Subarray I
3. Longest Substring without Repeating Characters
76. Minimum Window Substring

Fast and Slow Pointers
141. Linked List Cycle
202. Happy Number
287. Find the Duplicate Number

Linked List in-place reversal
206. Reverse Linked List
92. Reverse Linked List II
24. Swap Nodes in Pairs

Monotonic Stack
496. Next Greater Element I
739. Daily Temperatures
84. Largest Rectangle in Histogram

Top K. Elements OR min/max Heap
215. Kth Largest element in an array
347. Top K Frequent Elements
373. Find K Pairs with Smallest Sums

Overlapping Intervals
56. Merge Intervals
57. Insert Interval
435. Non-overlapping intervals

Modified Binary Search
33. Search in Rotated Sorted Array
153. Find Minimum in Rotated Sorted Array
240. Search a 2D Matrix II

Binary Tree Traversal
257. Binary Tree Paths
230. Kth Smallest Element in a BST
124. Binary Tree Maximum Path Sum
107. Binary Tree Level Order Traversal II

Depth First Search
133. Clone Graph
113. Path Sum II
210. Course Schedule II

Breadth First Search
102. Binary Tree Level Order Traversal
994. Rotting Oranges
127. Word Ladder

Matrix Traversal
733. Flood Fill
200. Number of Islands
130. Surrounded Regions

Backtracking
46. Permutations
78. Subsets
51. N-Queens

Dynamic Programming
70. Climbing Stairs
322. Coin Change
300. Longest Increasing Subsequence
416. Partition Equal Subset Sum
312. Burst Balloons
1143. Longest Common Subsequence

RikerWilson
Автор

Bro singlehandedly busted the entire DSA ED-Tech community, by just providing the most asked and important patterns to practice before an interview, wow, thanks Ashish

anshpradhan
Автор

No bs, no gatekeeping, no useless descriptions. Thanks, sir.

vcankeklik
Автор

As a beginner programmer, while I did not understand everything, I was particularly amazed at how simple you explained what a sliding window was: subtracting the left and adding the right. Just that sentence made me completely understand it and I felt like I fully unlocked another tool to my algorithm arsenal. Thanks so much!!!

chefbubbles
Автор

Thanks for sharing. I had an interview at Uber Brazil. Since I had no DSA training, I didn't do well. But now I'm learning a lot from your videos. I'm improving a lot with these tips.

jonatasjcgrendering
Автор

Let me be honest. The content here is super underrated on YouTube. I saw this late and realised so many of such patterns were asked to me in my interviews which I failed to crack. MMT, Walmart etc. Terrific content.

darshit-raj
Автор

You just compressed the crux of leetcode problem-solving techniques down to 13 mins. Well done!

xalspaero
Автор

i have seen so many suggestion videos, i felt some lagging feeling with many. this is the first time i am commenting for a dsa youtuber. i just want you to be happy in your life. you choose to share your knowledge and you did it in a very good efficient way. cant be not grateful. thank you so much sir.

siddhukanchumarthi
Автор

This is genuinely one of the most useful videos I have found all month.

foxrumor
Автор

Awesome video. Probably the first time I have needed to slow down the video to understand what is going on!

stuarthys
Автор

This is one of the we'll structure video I ever watched. Great content. Literally I watch videos at 1.5x but this one at 0.75x. Cuddos to your efforts.

shashikanthacharya
Автор

please make more detailed vidoes on the following topics . this was really helpfull.

shreshthtiwari
Автор

after watching this video i am quite confident i am on right path i too see these patterns frequently and for most of the problems you just you one of these approaches or logic if you notice it while solving your questions.

pranavdarekar
Автор

This is hands down the best recap/summary that I needed to find on LeetCode. Thanks a lot

Iamine
Автор

Bro, your videos are a hidden gem. Keep delivering such videos. They are very helpful.

vipulmaheshwari
Автор

I really love the animations and analogies used in this video. They help to illustrate the concepts in an awesome way!

berrywarmer
Автор

This is an amazing video with explanation + visual representation + base code + top 3 problems to practice !! Please do videos on each pattern, It will make our coding journey lot more easier !

Once again thank you so much for the great content !!!

lakshmi