Best Order to Learn Algorithms & Data Structures
🚀 neetcode.io/ - A better way to prepare for Coding Interviews
🧑💼 LinkedIn: / navdeep-singh-3aaa14161
🐦 Twitter: / neetcode1
⭐ BLIND-75 PLAYLIST: • Two Sum - Leetcode 1 -...
#neetcode #leetcode #python
Пікірлер: 68
Bro explained DSA roadmap using DSA analogy and expected beginners to understand
@doofus8
3 ай бұрын
glad I learned about graphs, DFS & BFS in discrete maths so I could understand everything he was saying & it definitely makes so much sense
@natescode
3 ай бұрын
Recursion
@SownJevan
2 ай бұрын
Dawg. Are you stupid? Anyone can google the names. This is the order he is recommending for you to learn things about.
@wisdomlounge4452
2 ай бұрын
@@doofus8 After he read your comment I'm sure this KZreadr snapped his fingers and sighed in disappointment for failing to confuse you like he did the rest of us, lol!
@doofus8
2 ай бұрын
@@wisdomlounge4452 lol 😂
Bro explaining algorithm with algorithm😂😂
Breadth-first search (BFS) is an algorithm for searching a tree data structure for a node that satisfies a given property. It starts at the tree root and explores all nodes at the present depth prior to moving on to the nodes at the next depth level. Extra memory, usually a queue, is needed to keep track of the child nodes that were encountered but not yet explored. Depth-first search (DFS) is an algorithm for traversing or searching tree or graph data structures. The algorithm starts at the root node (selecting some arbitrary node as the root node in the case of a graph) and explores as far as possible along each branch before backtracking. Extra memory, usually a stack, is needed to keep track of the nodes discovered so far along a specified branch which helps in backtracking of the graph.
Love how you explain it in a DSA way
@sectorgamma
6 күн бұрын
Actually it's stupid because this video is for beginners who don't know what DFS and BFS are.
You need to update the 'Stack' section. More than half of the questions in there are related to dynamic programming and don't even need a stack to solve them
this reels time is iconic, just solved max path sum problem of trees, i feel gd understanding this reel fully
Here's my theory on learning in general. Learning is more like learning how to drive than it is... Memorizing a manual. When you learn how to drive, there is a huge gap between knowing how to do it, and being able to do it. What is the gap? Essentially, having the trained neural networks in your brain. You train neural networks with immense collections of data. I personally would approach it like training a neural network. This means... 1) Gather as much labeled data as possible. Look at the terms, concepts, answers, and the questions and process their reasoning. 2) Do far more than you think would be enough to "get it logically". You're not trying to get to the point to get it logically. You're looking to get to the point where you are an optimally-trained model. 3) Backpropagate and error correct. When you get something wrong, trace your reasoning back and see exactly why your network didn't connect it. Adjust that node in your mind. 4) Repeat this constantly. In my opinion, this view gives you the sort of philosophy that makes being good at this inevitable. To put that philosophy in words... it means that no one is perfect at this, and it means that your measure for success is not getting it right. It is "having a powerfully trained model". Or in layman terms, your considerations and the process that emerges from your mind on how to solve this new problem is structured in such a way that it quite reliably takes you to the correct answer as your model runs through the novel problem. Put more concisely, you want to optimize for a well-trained problem-solving approach mental model. Not “try to get everything right”. That’s too information-poor. Optimizing the problem-solving model is far more possible.
@jks234
3 ай бұрын
Neetcode said something similar already, but I felt like I wanted to lay out the thought I had.
@Zero-bg2vr
3 ай бұрын
what a gem, thank you!!!
@raheem2845
2 ай бұрын
Quality take.
@dotnuel
Ай бұрын
Thanks for this
@hanznathanpo
Ай бұрын
Bro used a technology meant to emulate the brain to explain how to train an actual brain, crazy
Bro used Recursion irl: used Algorithms to make beginners learn Algorithms.
legendary explanation
Gotta look at most frequently asked before the interview and do A+ search the night b4
Its a graph, and topological sorting can be used to study
bro explain like a chad
Nice!
BFS might not work either because that doesn't solve the problem of possibly reaching nodes without doing the prerequisites first. You'd need a topological sort in other words.
"Most common topics are at the beginning" Yeah and chocolate tastes very chocolaty
imo, if you understand these concepts (e.g. in my case I've almost finished my cs degree so I know the concepts, but I still need more practise) its better to vary your practise. Studies show this is more effective
Beautiful
Goat of CS
Genius
Not a fan of the array first tbh. Array has so many different techniques
@iaddai
Күн бұрын
Experiencing this going through blind rn, every problem has a different approach it's like it's not even under the same pattern. What do u think might be a better starting point?
Can you upload this learning path image?
@mycommentmyopinion
3 ай бұрын
It's on his website
@NeetCodeIO
3 ай бұрын
neetcode.io/roadmap
What’s the diagramming program
How can I read these tiny letters? Am I missing something?
its easy to understand bro yall are tweaking. nice explanation
this guy
learn, practice, put in time, don't look for shortcuts. Make it a habit. get a roadmap to follow but stop asking "best way, efficient way", there isn't one
what is he using
It's not the eye is blind but that image make you
bro wth is bfs
@mayukhawasthi8156
3 ай бұрын
Breadth first Search aka going to all nodes at a level before going deeper in any of them.
@igorcastilhos
3 ай бұрын
Best friend since
I’m the one that asked this 🤓
This is so troll 😂
I'm four months into programming, and I don't know what the hell you're talking about, mate
Idk why but you sound like the programmer version of Dr K.
it's not a tree cuz it's a DAG
Bro, do you ever get outside? Cause I see you always talking about Algorithms.
BFS obviously 😂
This shit is meta
I understand nothing
DSA brain rot