8 patterns to solve 80% Leetcode problems

  Рет қаралды 438,138

Sahil & Sarra

Sahil & Sarra

Күн бұрын

Пікірлер
@sahilandsarra
@sahilandsarra 6 ай бұрын
Try my free email crash course to crush technical interviews: Interview Master (now called InstaByte) - instabyte.io/
@TheViral_fyp
@TheViral_fyp 6 ай бұрын
Brother you doing great job 👍 ... But can u suggest me best book fundamental of DSA stuffs in java
@vivekcreation1904
@vivekcreation1904 3 ай бұрын
The link is not working....
@congdatt
@congdatt 6 ай бұрын
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
@nitinyaduvanshi3807
@nitinyaduvanshi3807 6 ай бұрын
Need it
@lamdt2604
@lamdt2604 4 ай бұрын
thank sir
@anmol_mahendra
@anmol_mahendra 2 ай бұрын
kzbin.info/www/bejne/rqCaiaWIi917brs
@ankitgoyal34
@ankitgoyal34 Ай бұрын
Thank you
@阮晟堯
@阮晟堯 17 күн бұрын
thanks !
@TeenyPort
@TeenyPort 6 ай бұрын
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
@makima7457
@makima7457 5 ай бұрын
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?
@sidtalks2885
@sidtalks2885 5 ай бұрын
@@makima7457 Believe me , you won't need any of these
@hen56349
@hen56349 4 ай бұрын
@@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.
@rafiashan8389
@rafiashan8389 4 ай бұрын
@@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.
@Bladermishal10
@Bladermishal10 4 ай бұрын
​@@rafiashan8389exactly but then when you wanna change job this is the kind of questions they ask in interviews, hence why I am here xD
@austecon6818
@austecon6818 2 ай бұрын
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.
@nadim379
@nadim379 3 ай бұрын
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
@Brajgamer
@Brajgamer 5 ай бұрын
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.
@svistetsky
@svistetsky 4 ай бұрын
Once you've solved enough of each pattern, you can reduce any given problem to the basis (some "ideal", simple problem).
@YashTrivedi-iq3ft
@YashTrivedi-iq3ft 6 ай бұрын
Bro speaks in Lowercase
@the-real-dr2050
@the-real-dr2050 5 ай бұрын
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
@lakshmi8347
@lakshmi8347 6 ай бұрын
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 🙏
@avinashkumar3116
@avinashkumar3116 4 ай бұрын
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.
@habibalnoman845
@habibalnoman845 6 ай бұрын
happy to see you, love from Bangladesh ❤
@Bladermishal10
@Bladermishal10 4 ай бұрын
Are you a software engineer in Bangladesh?
@BrownStain_Silver
@BrownStain_Silver 5 ай бұрын
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.
@anamikakumari3879
@anamikakumari3879 6 ай бұрын
It would be great if you could share curated questions list for each pattern for practice
@anthonybustamante5736
@anthonybustamante5736 4 ай бұрын
look up Neetcode
@dasariasritha7974
@dasariasritha7974 7 күн бұрын
Hi, I really admire your content which is unique and worth, could please make sure that after every new method maintain few seconds time so that we can process it. Actually your words have clarity only transition of topics need a little gap
@Shhhh-ni5jw
@Shhhh-ni5jw 6 ай бұрын
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
@rammuchhal3708
@rammuchhal3708 6 ай бұрын
How many problems you have practiced?
@thomasthomas3655
@thomasthomas3655 3 ай бұрын
Me too
@chandup832
@chandup832 4 ай бұрын
can you share list of problems in each pattern to practice? That would be very helpful, Thanks
@navin_thomas
@navin_thomas 4 ай бұрын
Thanks for providing the advice regarding the bisect module functions.
@045sunilkumar2
@045sunilkumar2 6 ай бұрын
Please tell us about how to start leetcode for beginners
@J4RMAMS
@J4RMAMS 5 ай бұрын
I love you Sahil!!! Your journey inspired me to apply for a masters in computer science at Northeastern University!!!
@juq6971
@juq6971 Ай бұрын
this video is only useful for those that have already solved enough of those Leetcode problems
@jonathanjohnson2785
@jonathanjohnson2785 6 ай бұрын
Too valuable. Thanks Sahil❤
@thanhn2001
@thanhn2001 2 ай бұрын
Thank you such a great video that doesn't take 1 hour.
@SaitejaE
@SaitejaE 6 ай бұрын
Thanks for useful content!!
@srinivaschaligeri5760
@srinivaschaligeri5760 6 ай бұрын
I am always looking for your new videos ❤
@akshayar5993
@akshayar5993 5 ай бұрын
How to learn to solve subset and substring problems? Can you please guide
@SenthilkumarDeivasigamani
@SenthilkumarDeivasigamani 6 ай бұрын
Thank you Sahil ❤
@neerajsinghbisht4030
@neerajsinghbisht4030 6 ай бұрын
People from India 🎉
@md_pedia1
@md_pedia1 6 ай бұрын
That was really insightful ❤
@Mwme2000
@Mwme2000 3 ай бұрын
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
@ranihirani
@ranihirani Ай бұрын
I'm so gonna consume these patterns into my soul.
@syedsaad4160
@syedsaad4160 6 ай бұрын
Hashmap is pretty important too
@nikitarao9617
@nikitarao9617 2 ай бұрын
Which is the best course to learn DSA and their time complexities?
@himanshumishra6243
@himanshumishra6243 5 ай бұрын
good video bro..could you please suggest me DSA course for golang
@md.nahidulalamchowdhury9568
@md.nahidulalamchowdhury9568 3 ай бұрын
Thanks a lot.
@MrTubeyoucomment
@MrTubeyoucomment 5 ай бұрын
As someone commented earlier - Bro talks in lowercase 🤣🤣🤣
@TastieFoodHyderabad
@TastieFoodHyderabad 9 күн бұрын
How do you create such animations?
@pvibe-re3rt
@pvibe-re3rt 4 ай бұрын
Greater explanation
@ayushtiwari6473
@ayushtiwari6473 6 ай бұрын
Prefix array, hashing are add-on
@SDGful
@SDGful Ай бұрын
please should learn DS and algo to build big stuff and give it to open-source problem with Indian developers learn DS just to crack interviews thats why there is no Indian big open source community which has build some extreme stuff like Database, streaming solution, or compilers or anything not even a framework
@funnycartoons707
@funnycartoons707 6 ай бұрын
Love from IIT Delhi jwala hostel
@1234567qwerification
@1234567qwerification 4 ай бұрын
What about UnionFind? Is it in the topological sorting?
@raghavbakshee9307
@raghavbakshee9307 2 ай бұрын
Bro speaks in lowercase
@anilhanumantharao9144
@anilhanumantharao9144 6 ай бұрын
Thank you❣
@priyankashettigar4475
@priyankashettigar4475 6 ай бұрын
Can you please tell how to improve logical and critical thinking skill??
@NatureNourisher
@NatureNourisher 6 ай бұрын
Hai.you should solve sudoku and logical problems which are available free on internet
@hamza_dev
@hamza_dev 6 ай бұрын
By practicing.
@RahulChauhan-0907
@RahulChauhan-0907 6 ай бұрын
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
@vishwaroop1431
@vishwaroop1431 Ай бұрын
bro whats difference betn 2 pointer and a sliding window
@shanthim2573
@shanthim2573 6 ай бұрын
Good effort bro
@MADA_QWE
@MADA_QWE 6 ай бұрын
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?
@youtubeuserwhowatchesyoutube
@youtubeuserwhowatchesyoutube 6 ай бұрын
same bro same....i feel like iam working so hard for nothing🥲
@anihadagali4725
@anihadagali4725 6 ай бұрын
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).
@CodingWorldHere
@CodingWorldHere 6 ай бұрын
Hard to digest in 8 minutes make detailed video.
@mdyusufansari8897
@mdyusufansari8897 6 ай бұрын
please make complete courses on devops, cloud computing.
@Simple_OG
@Simple_OG 6 ай бұрын
Stop watching courses do something with yourself
@carl.bergmann
@carl.bergmann 6 ай бұрын
@@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.
@dhirajvanarase4331
@dhirajvanarase4331 6 ай бұрын
Can you please make video on Salesforce developer path.
@jaihindjaiswar5880
@jaihindjaiswar5880 3 ай бұрын
i love your videos😍
@lordadamson
@lordadamson 4 ай бұрын
thanks a lot
@esrx7a
@esrx7a 6 ай бұрын
Thank you Sahil anna
@gowthammyil
@gowthammyil 6 ай бұрын
Great knowledgeable video❤
@01_abhijeet49
@01_abhijeet49 6 ай бұрын
You have to implement it too
@abdullahalrafi101
@abdullahalrafi101 6 ай бұрын
Thank you.....🔥🔥🔥
@Artsbyaishwarya
@Artsbyaishwarya 6 ай бұрын
Good for revision
@priyanshkumar17
@priyanshkumar17 6 ай бұрын
Thank you Sir
@Kaviarasu_NS
@Kaviarasu_NS 6 ай бұрын
can you please share tools used to create these content
@dhirajvanarase4331
@dhirajvanarase4331 6 ай бұрын
Please make a video on Salesforce Developer path
@naveenkumart3399
@naveenkumart3399 Ай бұрын
People from India
@pawelsubko7277
@pawelsubko7277 6 ай бұрын
More like 40%, to solve another 50% to be at the desired 90% you need only 35 more patterns.
@PabitraPadhy
@PabitraPadhy 4 ай бұрын
what are those patterns and where to know them from?
@yuvi_1347
@yuvi_1347 Ай бұрын
What are those 😊
@hlearningkids
@hlearningkids 5 ай бұрын
Very good
@SridTech
@SridTech 6 ай бұрын
I subscribed to the interviewmaster mailing list. But no mail is delivered.
@vedparkashgaba5478
@vedparkashgaba5478 6 ай бұрын
Valuable video
@Lalalala22537
@Lalalala22537 6 ай бұрын
Are you a front-end / back-end developer or something else?
@SS-lg8fc
@SS-lg8fc 6 ай бұрын
Finally you've uploaded a video
@i_youtube_
@i_youtube_ 6 ай бұрын
Which software do you use for animation?
@ReshmaShaik-zi9rz
@ReshmaShaik-zi9rz 6 ай бұрын
Bro can u make a video on doing a project on git hub for beginners plss
@galanoth17
@galanoth17 4 ай бұрын
Suprised DP patterns is not on the list.
@sachinreddy2836
@sachinreddy2836 6 ай бұрын
Nice video❤
@MRsajib-ht4ff
@MRsajib-ht4ff 6 ай бұрын
your voice awesome
@NavdeepVarshney-ep4ck
@NavdeepVarshney-ep4ck 4 ай бұрын
Sor I want to know is currently there scope in the industry because there is massive layoff please help me I have to prepare.
@pioneerx9066
@pioneerx9066 3 ай бұрын
DP is no tmentioned?
@foundry1534
@foundry1534 5 ай бұрын
я удивлён тем, что много чего из этого списка есть в ЕГЭ
@sabbirhossan3499
@sabbirhossan3499 6 ай бұрын
Sir I didn't understand leetcode problem what can do please help.
@zaidkhan-rx4bb
@zaidkhan-rx4bb 6 ай бұрын
Amazing
@madhvishrivastava3646
@madhvishrivastava3646 6 ай бұрын
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 ?
@NatureNourisher
@NatureNourisher 6 ай бұрын
Solve sudoku.. and other corelated ones.
@madhvishrivastava3646
@madhvishrivastava3646 6 ай бұрын
Sure I will start solving now. Thanks alot
@rahulkumar11a98
@rahulkumar11a98 6 ай бұрын
Should we do DSA in JavaScript
@nofeah89
@nofeah89 6 ай бұрын
Can do in any language JS is popular because its the backbone of web
@pawanterdal2261
@pawanterdal2261 6 ай бұрын
What about dynamic programming and graphs ?
@suprakashghosh4224
@suprakashghosh4224 6 ай бұрын
That's the remaining 20%
@rishiraj2548
@rishiraj2548 6 ай бұрын
Thanks
@jotrades26
@jotrades26 5 ай бұрын
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
@Pushkar682
@Pushkar682 4 ай бұрын
Grow up kid
@technology_planet2024
@technology_planet2024 6 ай бұрын
The legend!
@fahmidzaman
@fahmidzaman 6 ай бұрын
I want to be an AI engineer which topics should i learn durinh my BSC beside DSA
@omkarsawant1167
@omkarsawant1167 5 ай бұрын
bro is like sidhi baat no bakwas
@aj-lan284
@aj-lan284 5 ай бұрын
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
@BrainyQuizZone
@BrainyQuizZone 6 ай бұрын
I am bigger python can i join your course are not
@samplewebinar5783
@samplewebinar5783 3 ай бұрын
But the patterns will have subpatterns
@georgerussel
@georgerussel 5 ай бұрын
Where is DP?
@BhoomikaD-r4l
@BhoomikaD-r4l 2 ай бұрын
Me after listening to him: may be bro is very serious person in life Me after seeing thumbnail: may be not 🤔
@unknown-rl1bd
@unknown-rl1bd 3 ай бұрын
@qwerttest3550
@qwerttest3550 6 ай бұрын
Hi Sahil, can I know if your running any consultancy for outside India jobs of so can you provide me the details
@ayushagarwal3864
@ayushagarwal3864 5 ай бұрын
All this is good until DP and Graphs come into play :P
@aadigupta3639
@aadigupta3639 Ай бұрын
catcha is nt working
@williejohnson3692
@williejohnson3692 3 ай бұрын
Subscribed but no email..
@iseeflowers
@iseeflowers 4 ай бұрын
Didn’t know topological sort is important.
@non-stop-Code
@non-stop-Code 6 ай бұрын
How to build logic
@vanshraj4724
@vanshraj4724 5 ай бұрын
where's dynamic programming? 💀
@tigrankarapetyan622
@tigrankarapetyan622 6 ай бұрын
Cool
@genzhustler1234
@genzhustler1234 6 ай бұрын
I am from a very small village in Bihar. I am 19 years old and I don't even know how to operate a computer. Can i became a good software engineer?
@roumyapratapsingh3514
@roumyapratapsingh3514 6 ай бұрын
Yes
@harshitpahade4045
@harshitpahade4045 6 ай бұрын
How I would learn Leetcode if I could start over
18:03
NeetCodeIO
Рет қаралды 687 М.
Из какого города смотришь? 😃
00:34
МЯТНАЯ ФАНТА
Рет қаралды 2,5 МЛН
The Ultimate Sausage Prank! Watch Their Reactions 😂🌭 #Unexpected
00:17
La La Life Shorts
Рет қаралды 8 МЛН
Молодой боец приземлил легенду!
01:02
МИНУС БАЛЛ
Рет қаралды 1,9 МЛН
3 Types of Algorithms Every Programmer Needs to Know
13:12
ForrestKnight
Рет қаралды 499 М.
How to Solve ANY LeetCode Problem (Step-by-Step)
12:37
Codebagel
Рет қаралды 300 М.
The 3 Laws of Writing Readable Code
5:28
Kantan Coding
Рет қаралды 734 М.
LeetCode was HARD until I Learned these 15 Patterns
13:00
Ashish Pratap Singh
Рет қаралды 577 М.
How I became a millionaire as a Software Engineer
9:32
Sahil & Sarra
Рет қаралды 146 М.
I Solved 1583 Leetcode Questions  Here's What I Learned
20:37
ThePrimeTime
Рет қаралды 735 М.
5 Signs of an Inexperienced Self-Taught Developer (and how to fix)
8:40
Top 7 Algorithms for Coding Interviews Explained SIMPLY
21:22
Codebagel
Рет қаралды 442 М.
The unfair way I mastered Leetcode
8:02
Sahil & Sarra
Рет қаралды 49 М.
5 Patterns to Master 80% of Leetcode Problems
15:37
Rahul Pandey
Рет қаралды 12 М.
Из какого города смотришь? 😃
00:34
МЯТНАЯ ФАНТА
Рет қаралды 2,5 МЛН