8 patterns to solve 80% Leetcode problems
HTML-код
- Опубликовано: 27 сен 2024
- Try my free email crash course to crush technical interviews:
Interview Master (now called InstaByte) - instabyte.io/
► Check out InstaJob: instajob.io/
► For more content like this, subscribe to our channel: / @sahilandsarra
► Follow us on Linkedin:
/ gabag26
/ sarrabounouh
► Let's be FRIENDS! / sahilandsarra
Try my free email crash course to crush technical interviews:
Interview Master (now called InstaByte) - instabyte.io/
Brother you doing great job 👍 ... But can u suggest me best book fundamental of DSA stuffs in java
The link is not working....
1. 2 pointer: 6:18
2. Binary Tree BFS: 5:26
3. Topological Sort: 4:33
4. Binary Tree DFS: 3:39
5. Top K Elements: 2:45
6. Modified Binary Search: 1:35
7. Subset: 1:04
8. Sliding window: 0:17
Need it
thank sir
ruclips.net/video/xo7XrRVxH8Y/видео.html
Wow this video just made me realize A.) how much I forgot since I graduated, and B.) how much I haven’t needed to remember any of this so far in my professional developer career
so you mean these doesn't apply to your working experience. I am a student and I saw some competition problems like these and couldn't solve some. Then I thought that what will I do when I got a job?
@@makima7457 Believe me , you won't need any of these
@@makima7457 no, your job doesn't require this. However, it just improves your understanding of coding overall. If you are very good at leetcode, then employers can be confident in you. It shows employers that you have the discipline t to learn any skills required for a job.
@@makima7457 These kind of problems improve our problem solving abilities. That's why we learn / practice these pattern. In professional career, there not many situations where you need to use these patterns as there are already templates given. We just need to know how to use them accordingly.
@@rafiashan8389exactly but then when you wanna change job this is the kind of questions they ask in interviews, hence why I am here xD
This video is mind-blowing !!!
Sir, Why don't you start a series on each pattern???
It would be useful for everyone even though it is paid 🙏
Striver has already made series on each pattern with problems.
Check it out on his channel #takeUforward, course name - Strivers A2Z DSA Course.
He is the best.
I am still under 200 problems solved but I think I'm already qualified enough to say that this video is exactly the advice I would give too. The 80/20 rule... that 8 patterns will help you solve about 70% of mediums with the caveat that you DEEPLY understand the patterns and all the possible subtle variations. The other 30% are either different algorithms, tricks / math knowledge, greedy algorithms or DP problems... but most DP problems can be solved well enough with DFS + top-down memoisation.
Several great easy takeaways from this video and I’ve only watched it once. I’ll implement bisect left and right in swift now lol. Love it, thanks
I just discovered your channel after 4 months in a basic Python and intro to data science. During the course, I've written a few programs to automate tasks at work. I'm deciding where to go next and the most efficient way to get there. This channel is awesome! It has put so much into the right context to make the next decision.
More like 40%, to solve another 50% to be at the desired 90% you need only 35 more patterns.
what are those patterns and where to know them from?
I practices a lot of leetcode but my brain feels frozen right now and I cannot write any code even if I know the approaxh
How many problems you have practiced?
Me too
As someone commented earlier - Bro talks in lowercase 🤣🤣🤣
I love you Sahil!!! Your journey inspired me to apply for a masters in computer science at Northeastern University!!!
Thanks for useful content!!
People from India 🎉
Thank you such a great video that doesn't take 1 hour.
I am always looking for your new videos ❤
Please tell us about how to start leetcode for beginners
can you share list of problems in each pattern to practice? That would be very helpful, Thanks
That was really insightful ❤
Hard to digest in 8 minutes make detailed video.
8. 0:16 Sliding Window Pattern
7. 1:02 Subset Pattern
6. 1:34 Modified Binary Search Pattern
5. 2:45 Top k Elements Pattern
4. 3:40 Binary Tree DFS Pattern
3. 3:34 Topological Sort Pattern
2. 5:25 Binary Tree BFS Pattern
1. 6:18 Two Pointer Pattern
Thank you Sahil ❤
Love from IIT Delhi jwala hostel
Hashmap is pretty important too
Good effort bro
please make complete courses on devops, cloud computing.
Stop watching courses do something with yourself
@@Simple_OG I disagree, doing something yourself if good for reaching "depth" like a path in a DFS. Doing a course/reading a book is like a BFS in a given domain. It gives you the overview and wires the concepts together. So, you need both.
I subscribed to the interviewmaster mailing list. But no mail is delivered.
Me after listening to him: may be bro is very serious person in life
Me after seeing thumbnail: may be not 🤔
Thanks a lot.
Greater explanation
I am taking CS50, Introduction to Programming with Python. Sometimes, when I try to solve problems, I can't figure them out. I might understand the logic, but struggle with implementing it. After attempting to solve the problem myself, I often have to look at the solution. When I do, I understand it. Does this mean I'm a bad programmer, or that programming isn't for me?
same bro same....i feel like iam working so hard for nothing🥲
It's always Ok to look at the solutions. But Make sure you understand the solution. But do revisit the problem the try solving it again, this time maybe chose a different language (any lang works, it's good to know more languages).
Are you a front-end / back-end developer or something else?
Thank you❣
Which is the best course to learn DSA and their time complexities?
Please make a video on Salesforce Developer path
я удивлён тем, что много чего из этого списка есть в ЕГЭ
Sir, I am a data science enthusiast I have covered all the mathematics behind machine learning, practice the implementation and did same for deep learning also.
I started NLP please guide me towards this role I want to get a good job this placement season it will start later this year kindly guide
Finally you've uploaded a video
thanks a lot
Good for revision
Highly misleading, came to see patterns but saw generic DS& Algo script , patterns are there, what matters is the patterns that build from intuitions not concepts
Grow up kid
Very good
Thank you Sahil anna
i love your videos😍
Sir I didn't understand leetcode problem what can do please help.
All this is good until DP and Graphs come into play :P
can you please share tools used to create these content
Which software do you use for animation?
What about UnionFind?
Is it in the topological sorting?
Amazing
Bro can u make a video on doing a project on git hub for beginners plss
you inspired me sahil. btw how did you get 300K package? is it your negotiation skills or due to COVID you got a high package? please tell me
thanks
Sor I want to know is currently there scope in the industry because there is massive layoff please help me I have to prepare.
Hi Sahil...sometimes I feel difficulty in thinking logic...I think it will improve over time by solving many problems. I don't know if I am right ?
Solve sudoku.. and other corelated ones.
Sure I will start solving now. Thanks alot
6:18
where's dynamic programming? 💀
DP is no tmentioned?
Can you please tell how to improve logical and critical thinking skill??
Hai.you should solve sudoku and logical problems which are available free on internet
By practicing.
your rate of speech is a lit bit fast i couldn't get you so make it solw and improve credibility of your voice
Said like a true noob
Dont be a typical baby
He is very credible, you have none
Not everyone can understand that rate of speech which I felt fast and if he slows down I bet he will gain more reach
@@01_abhijeet49 it's just a suggestion don't react
I am bigger python can i join your course are not
Bro speaks in lowercase
Sir Maine Ise kiya hai
Subscribed but no email..
How to build logic
What about dynamic programming and graphs ?
That's the remaining 20%
Should we do DSA in JavaScript
Can do in any language JS is popular because its the backbone of web
Cool
Bhai sahil , aap thora dheere bola karo yaar... saans lo bich mein.
Itna tez bolte ho matha ke upaar chala jata hai.
Aap woh creator ho jisko 0.25x mein dekhna padta hai
People from Africa👇
❤
I’m not from Africa, but I liked
@@michaelvivirito😂
@@michaelviviritoMe too😮
This time for 🌍 Africa
Funny thumbnail
People from india👇
good effort, on lighter side if you are mentioning heap for top k elements (and not quick select), you are a noob! :D
I am the first viewer
777th like
aheiluxi
you Are going way too fast. slow down and take your time with explaining or showing samples. this not TikTok you have plenty of time bro
completely useless video
Will AI replace software engineer within next 10 years?
NO
no, it will create more jobs. AI will only replace job which is repeatable work.
No
@@kirannadimpalli9641yes, Agree
Yes it will, the amount of software engineers will go down.
A video where not claiming to be Google emp is nice to see, but looks like guy is reading from script. People please don't waste time here like i did
Useless leetcode engineers. Non need in real companies.
bl-bl-bl-bl. Please learn to speak
HASHMAP
Its one thing to master solving these problems. But its completely different story when it comes to identify these patterns in real world problems or modelling real issues with these data structures.
Once you've solved enough of each pattern, you can reduce any given problem to the basis (some "ideal", simple problem).
Bro speaks in Lowercase
happy to see you, love from Bangladesh ❤
Are you a software engineer in Bangladesh?
Can you please tell me if it is important to slove competitive programming questions ? Is it important to my career. I am good at coding and problem solving but don't slove hard questions
It would be great if you could share curated questions list for each pattern for practice
look up Neetcode
Suprised DP patterns is not on the list.
catcha is nt working
Hi Sahil, can I know if your running any consultancy for outside India jobs of so can you provide me the details
I want to be an AI engineer which topics should i learn durinh my BSC beside DSA
How to learn to solve subset and substring problems? Can you please guide
good video bro..could you please suggest me DSA course for golang
Didn’t know topological sort is important.
Can you please make video on Salesforce developer path.
But the patterns will have subpatterns
❤
Competitive coding is not important.
Thanks for providing the advice regarding the bisect module functions.
I am a student of Kunal Kushwaha