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

  • @rulercostax
    @rulercostax3 ай бұрын

    Bro explained DSA roadmap using DSA analogy and expected beginners to understand

  • @doofus8

    @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

    @natescode

    3 ай бұрын

    Recursion

  • @SownJevan

    @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

    @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

    @doofus8

    2 ай бұрын

    @@wisdomlounge4452 lol 😂

  • @vigneshs1852
    @vigneshs18522 ай бұрын

    Bro explaining algorithm with algorithm😂😂

  • @Kaczynskibutnotted
    @Kaczynskibutnotted2 ай бұрын

    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.

  • @z40140110
    @z401401102 ай бұрын

    Love how you explain it in a DSA way

  • @sectorgamma

    @sectorgamma

    6 күн бұрын

    Actually it's stupid because this video is for beginners who don't know what DFS and BFS are.

  • @adi_cs03
    @adi_cs033 ай бұрын

    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

  • @kanishkkala16
    @kanishkkala163 ай бұрын

    this reels time is iconic, just solved max path sum problem of trees, i feel gd understanding this reel fully

  • @jks234
    @jks2343 ай бұрын

    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

    @jks234

    3 ай бұрын

    Neetcode said something similar already, but I felt like I wanted to lay out the thought I had.

  • @Zero-bg2vr

    @Zero-bg2vr

    3 ай бұрын

    what a gem, thank you!!!

  • @raheem2845

    @raheem2845

    2 ай бұрын

    Quality take.

  • @dotnuel

    @dotnuel

    Ай бұрын

    Thanks for this

  • @hanznathanpo

    @hanznathanpo

    Ай бұрын

    Bro used a technology meant to emulate the brain to explain how to train an actual brain, crazy

  • @MdKamrulIslam-lo9xn
    @MdKamrulIslam-lo9xn2 ай бұрын

    Bro used Recursion irl: used Algorithms to make beginners learn Algorithms.

  • @TheDoubleMvp
    @TheDoubleMvp2 ай бұрын

    legendary explanation

  • @lalalander8257
    @lalalander8257Ай бұрын

    Gotta look at most frequently asked before the interview and do A+ search the night b4

  • @vishaltiwari7180
    @vishaltiwari718018 күн бұрын

    Its a graph, and topological sorting can be used to study

  • @NgynAn-dg3kp
    @NgynAn-dg3kp2 ай бұрын

    bro explain like a chad

  • @matheuscosta5330
    @matheuscosta53302 ай бұрын

    Nice!

  • @benjamin7853
    @benjamin785314 күн бұрын

    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.

  • @skillpolice5348
    @skillpolice53488 күн бұрын

    "Most common topics are at the beginning" Yeah and chocolate tastes very chocolaty

  • @vteckickedin2365
    @vteckickedin23652 ай бұрын

    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

  • @sheikhtahamaroof8484
    @sheikhtahamaroof8484Ай бұрын

    Beautiful

  • @dabocousin
    @dabocousin11 күн бұрын

    Goat of CS

  • @Sirbikingviking
    @SirbikingvikingАй бұрын

    Genius

  • @KeL-r1z
    @KeL-r1z7 күн бұрын

    Not a fan of the array first tbh. Array has so many different techniques

  • @iaddai

    @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?

  • @lordmahakaal
    @lordmahakaal3 ай бұрын

    Can you upload this learning path image?

  • @mycommentmyopinion

    @mycommentmyopinion

    3 ай бұрын

    It's on his website

  • @NeetCodeIO

    @NeetCodeIO

    3 ай бұрын

    neetcode.io/roadmap

  • @Wassertivo
    @Wassertivo24 күн бұрын

    What’s the diagramming program

  • @niccolomedici4482
    @niccolomedici448226 күн бұрын

    How can I read these tiny letters? Am I missing something?

  • @rythmgamer8189
    @rythmgamer81892 ай бұрын

    its easy to understand bro yall are tweaking. nice explanation

  • @abrahamolaobaju2266
    @abrahamolaobaju226619 күн бұрын

    this guy

  • @asdasd-jg1re
    @asdasd-jg1re2 ай бұрын

    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

  • @Real_Gamer_clips
    @Real_Gamer_clips15 күн бұрын

    what is he using

  • @navedkhan6643
    @navedkhan6643Күн бұрын

    It's not the eye is blind but that image make you

  • @ELMlKO
    @ELMlKO3 ай бұрын

    bro wth is bfs

  • @mayukhawasthi8156

    @mayukhawasthi8156

    3 ай бұрын

    Breadth first Search aka going to all nodes at a level before going deeper in any of them.

  • @igorcastilhos

    @igorcastilhos

    3 ай бұрын

    Best friend since

  • @gadoosher
    @gadoosher3 ай бұрын

    I’m the one that asked this 🤓

  • @popcornpaat
    @popcornpaat2 ай бұрын

    This is so troll 😂

  • @lukewood2662
    @lukewood26629 күн бұрын

    I'm four months into programming, and I don't know what the hell you're talking about, mate

  • @zeroyuekun
    @zeroyuekunАй бұрын

    Idk why but you sound like the programmer version of Dr K.

  • @gerooq
    @gerooq23 күн бұрын

    it's not a tree cuz it's a DAG

  • @and_then_I_whispered
    @and_then_I_whispered14 күн бұрын

    Bro, do you ever get outside? Cause I see you always talking about Algorithms.

  • @shubhamatkal
    @shubhamatkalАй бұрын

    BFS obviously 😂

  • @drover7476
    @drover747615 күн бұрын

    This shit is meta

  • @bloqz8436
    @bloqz84362 ай бұрын

    I understand nothing

  • @zakariya9898
    @zakariya989812 күн бұрын

    DSA brain rot