Depth First Search

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ม.ค. 2025

ความคิดเห็น • 54

  • @Jajdjejwi28
    @Jajdjejwi28 4 ปีที่แล้ว +37

    lmao 2 hours lecture at my uni is summed up perfectly here in 7 minutes. Amazing!

    • @wibulord926
      @wibulord926 22 วันที่ผ่านมา

      are you sleep in your lecture ?

  • @robinkarlsson1460
    @robinkarlsson1460 2 ปีที่แล้ว +3

    Trying to explain this to a friend and your description of the algorithm in terms of a decision tree was brilliant. Makes things super clear (why we keep track of visited becomes self evident)! Great video 👍

  • @iq_pi7211
    @iq_pi7211 4 ปีที่แล้ว +5

    Finally I found a Dr. That deserve the title
    The AI Dr. In my college is all over the place
    She makes the easiest thing hard to understand

  • @wrightkuku8811
    @wrightkuku8811 2 ปีที่แล้ว +6

    this guy is underrated. he deserves a million subscribers and billion views

    • @islammmmdov1044
      @islammmmdov1044 2 หลายเดือนก่อน +4

      yes billion people on earth wants to know what is depth first search

    • @ChabPoha
      @ChabPoha หลายเดือนก่อน

      @@islammmmdov1044 🤣🤣🤣🤣🤣

  • @Ha-obeidat_501
    @Ha-obeidat_501 4 หลายเดือนก่อน +2

    افضل دكتور يشرح عن الماده شكرا لككككككككك 🥰

  • @ahmedibrahim-ro3sj
    @ahmedibrahim-ro3sj ปีที่แล้ว

    sir you are great ,hope you going to continue uploading more videos , have never seen someone illustrate in that simple and precise way

  • @pedrolopes9721
    @pedrolopes9721 6 ปีที่แล้ว

    Thank for your videos, my theory classes are really bad, and your youtube videos are saving, literally my life!

  • @TrangPham-kc7ft
    @TrangPham-kc7ft 4 ปีที่แล้ว

    Thank you so much for your explanation about DFS search tree, I've always get stuck at it but now it's more
    clearly

  • @telmagiovana6006
    @telmagiovana6006 9 หลายเดือนก่อน

    Thank you, best explanation! Wish I had watched your videos before

  • @jordan4890
    @jordan4890 4 ปีที่แล้ว +3

    Really nice videos man. I'm using search to derive equations in physics as a newcomer to CS. Your videos have helped immensely as a noob to CS research

  • @RajVerma-lg3kp
    @RajVerma-lg3kp 6 ปีที่แล้ว +17

    My teacher should be fired 😂... Thank you so much

  • @sigqibotshapha9950
    @sigqibotshapha9950 3 ปีที่แล้ว +4

    would've been neat to know the order of traversing the child nodes beforehand. also in an actual programming stack, we would have to add the child nodes(i.e expand) in reverse order such that our topmost node after each expansion is the next first node (i.e when expanding S start by adding D to the stack, then B then A such that A is at the top of the stack), so we should draw the tree down towards the right not left, same thing just on opposite sides. I'm terrible at explanations but I picked this up from your video which means it's great

  • @pantepember
    @pantepember 4 ปีที่แล้ว +7

    1- In what order do we choose the items at each level? (You choose them in alphabetical order. Why?)
    2- You say we treat the items list like a stack then you choose A at the first level. But how did we order them as A, B, and D in the first place?
    By the way, I really like the way you teach. Thank you.

    • @guidodinello1369
      @guidodinello1369 3 ปีที่แล้ว

      You can use whatever order you want to fill the stack, you will still traverse the entire component but following a different path

  • @f_1289
    @f_1289 ปีที่แล้ว

    youre a life saver ❤️❤️

  • @rafifelfazri3284
    @rafifelfazri3284 4 ปีที่แล้ว

    Thank you, it really helps me with my homework

  • @geoffreyvanwyk4588
    @geoffreyvanwyk4588 3 ปีที่แล้ว +3

    After expanding A, should you not have stopped at G1?

  • @manikantamaddipati4861
    @manikantamaddipati4861 6 ปีที่แล้ว

    great explanation John Levine

  • @prasundas6531
    @prasundas6531 ปีที่แล้ว +1

    Why not go to goal G1 when we are checking if B or G1 has been traversed first?

  • @beone888
    @beone888 10 หลายเดือนก่อน +1

    I'm not able to understand in which order he is exploring the node, if there is no order then after exploring A we can explore G1,B then the algo stop at G1 itself, that is the path will be S -> A -> G1

  • @hazemabuaqolah9206
    @hazemabuaqolah9206 2 ปีที่แล้ว

    SUPER!! thank you for awesome presentation.

  • @manuelacquistapace8030
    @manuelacquistapace8030 3 ปีที่แล้ว

    Amaizingly explained, thanks a lot

  • @dilantaskn928
    @dilantaskn928 2 ปีที่แล้ว +4

    Probably with these tutorials I learned AI algorithms way more than what I learned in class, but since this algorithm is LIFO, shouldn't it start to generate nodes from the D since it is the last one entered into the stack and should be the first one to get out, instead of A?

  • @tzaswit
    @tzaswit 4 ปีที่แล้ว

    Thank you, really helpful

  • @ggme7857
    @ggme7857 6 ปีที่แล้ว +1

    how do you decide the order of the nodes e.g. A B D. Because it really changes things

    • @vyomdirt
      @vyomdirt 6 ปีที่แล้ว

      Alphabetical order.

    • @vincent-uh5uo
      @vincent-uh5uo 6 ปีที่แล้ว

      yes it is also my question, if he decided the order is G2, F, S in the forth floor, the algorithm will stop.

    • @ravikumarrn8501
      @ravikumarrn8501 6 ปีที่แล้ว

      Check out the arrow direction of C. From S u can't go to C.

    • @karamkassem9821
      @karamkassem9821 7 หลายเดือนก่อน

      The problem should specify it, if not it can be random.
      Good way is to go from left to right, or from right to left or even if there are letter to follow alphabetic ordering

  • @zenitsuzang9506
    @zenitsuzang9506 5 ปีที่แล้ว

    I feel very understandable - exactly what I am looking for

  • @abdolvakilfazli2488
    @abdolvakilfazli2488 5 ปีที่แล้ว +3

    After first A, why did you choose B over G1. If you have chosen G1 over B that would be a better depth-first search

    • @mohammedshalan9161
      @mohammedshalan9161 ปีที่แล้ว

      That's also my question! I couldn't figure it out?!

    • @Steven-P99
      @Steven-P99 ปีที่แล้ว

      This choice is not really specified for depth search. How the algorithm chooses the next is node up for you to decide, as long as it's consistent.

  • @saraharar3114
    @saraharar3114 4 ปีที่แล้ว

    thank you so much ! incredible

  • @maksymkoval9816
    @maksymkoval9816 5 ปีที่แล้ว

    More like A+ for those tutorials

  • @chandanagubbiparamesha904
    @chandanagubbiparamesha904 6 ปีที่แล้ว

    Awesome!!..please make more videos

  • @annasahebpatil2654
    @annasahebpatil2654 9 หลายเดือนก่อน

    Is there goal state for bfs nd dfs

  • @lancelofjohn6995
    @lancelofjohn6995 3 ปีที่แล้ว

    why is G1 not removed?

  • @nadaali5
    @nadaali5 6 ปีที่แล้ว

    i love your way thank u

  • @azarku
    @azarku 4 ปีที่แล้ว

    THANK you !

  • @halkey4086
    @halkey4086 4 ปีที่แล้ว

    Helal hocam, teşekkürler.

  • @samsricatjaidee405
    @samsricatjaidee405 4 ปีที่แล้ว

    Thank you.

  • @maryameslam3782
    @maryameslam3782 2 ปีที่แล้ว

    thank you

  • @tomcolgan
    @tomcolgan 5 ปีที่แล้ว

    get a bigger board LOL, ah no all joking aside that was a very good explanation! really enjoyed it

  • @isurukottahachchi6156
    @isurukottahachchi6156 3 ปีที่แล้ว

    Good video but sound is not enough

  • @pixelsvuce1572
    @pixelsvuce1572 6 ปีที่แล้ว

    Node d is mentioned again..Check the presentation again...Plz....

    • @omarzalama
      @omarzalama 6 ปีที่แล้ว

      no it's not, it just appeared, we never expand it (branch it to it's nodes).

  • @abrahamjonathan3260
    @abrahamjonathan3260 ปีที่แล้ว +1

    S,A,B,C,F,G3🤔

  • @ahmedwael4293
    @ahmedwael4293 3 ปีที่แล้ว

    عايز اموت

  • @hamzaghazi
    @hamzaghazi หลายเดือนก่อน

    amazing video

  • @sqlyoutuber8230
    @sqlyoutuber8230 8 หลายเดือนก่อน

    Thank you