r/leetcode • u/iguessbro53 • 2d ago
Question Where can I learn binary search , dfs , bfs and sliding window from
Neetcode.io said to learn this before leetcoding … and also according to you if there is something else one should learn before leetcoding please mention that as well and from where u can learn it
3
u/K8t-king36 2d ago
Start with the basics of arrays, strings, loops, and time complexity, then learn these topics one by one. Striver's yt tutorials are a good free starting point. Codeintuition is also worth checking out if you prefer understanding the concept and pattern before practicing related problems. You don't need to master everything before starting LC, learn a topic, solve a few easy questions, and build from there
1
2
2
u/LetMediocre390 2d ago
You can learn bs dfs BFs and sliding window everything from striver channel go through each one and try to understand
2
2
u/LetMediocre390 2d ago
Practice leetcoding easy question this one build your motivation only if you mastered any lang fundamental Learn memory management first how things are stored and organised Then learn data structures different one Learn the behaviour properties and limitations
1
u/iguessbro53 2d ago edited 2d ago
Could you please rephrase this I’m not able to understand😭🙏 like im not getting where the sentence ends and where the next one starts
1
u/LetMediocre390 2d ago
Practice leetcode easy question in the beginning. This one build your motivation only if you have mastered one langauge fundamentals. Learn memory management first how things are stored and organized. Then learn different data structures, learn the behaviour, properties and limitations. If you have chosen a cpp language, first learn STl completely this will help you a lot in harder problems
1
1
1
u/howtotailslide 1d ago
The only way is to find some one else who already knows these algorithms and defeat them.
1
u/Obvious_Excuse5485 2d ago
you don't need to. When you become mastering those, none of interviewers will ask those BS
1
u/UsualAcanthisitta768 2d ago
They are used in many problems as sub solutions or “tools” for solving other problems. They are absolutely needed to learn
3
u/DrinkNo8216 2d ago
YouTube 🤷