Graph traversal - Depth first search|DFS

Sdílet
Vložit
  • čas přidán 7. 09. 2024
  • #DFS #graphtraversal #depthfirstsearch
    This is one of the important Graph traversal technique. DFS is based on stack data structure.
    Analysis:
    The time complexity of DFS using Adjacency list is O(V + E) where V & E are the vertices and edges of the graph respectively.

Komentáře • 56

  • @wednesdayaddams718
    @wednesdayaddams718 Před 9 měsíci +28

    These people pave our life and education thanks a lot for helping ❤❤

    • @SudhakarAtchala
      @SudhakarAtchala  Před 9 měsíci +6

      So nice of you. Plz subscribe to the channel and if possible share with your friends. Thanks in advance...

  • @DeepakKumar-dw1re
    @DeepakKumar-dw1re Před rokem +7

    Thanks Sir for your great effort. i can see your efffort in sweat.
    thank you once again sir😇

    • @SudhakarAtchala
      @SudhakarAtchala  Před rokem +3

      It's my pleasure. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

  • @prabhathvarma8099
    @prabhathvarma8099 Před měsícem

    Sir, you really explain well. It's like you already know the major students doubts and where they'll occur. Please consider joining in our college as Sr.Lecturer.

    • @SudhakarAtchala
      @SudhakarAtchala  Před měsícem +1

      So nice of you. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

  • @vamsikrish5060
    @vamsikrish5060 Před 9 měsíci +4

    Thanks sir tomorrow is my exam... Thanks sir... 😊💐🌹🎉

    • @SudhakarAtchala
      @SudhakarAtchala  Před 8 měsíci +1

      All the best. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

  • @ngugaming5347
    @ngugaming5347 Před 7 měsíci

    i have never seen a sir like you...the effort you r keeping for us♥ we r indebted for you sir..really amazing almost my whole class of 70 members follows ur channel

  • @3thrisha869
    @3thrisha869 Před 2 lety +6

    Tq so much tmrw my exam... You saved me 😇

    • @SudhakarAtchala
      @SudhakarAtchala  Před 2 lety +1

      All the best. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

  • @user-bd4vg7zs4f
    @user-bd4vg7zs4f Před 9 měsíci +1

    sir u are explaning so good.

    • @SudhakarAtchala
      @SudhakarAtchala  Před 9 měsíci +1

      Thanks and welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

  • @Aman_engineering
    @Aman_engineering Před 11 měsíci +3

    sir u are a life saver thank you sir

    • @SudhakarAtchala
      @SudhakarAtchala  Před 11 měsíci

      You are most welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

  • @phanisriimmalaraju4742
    @phanisriimmalaraju4742 Před rokem +1

    sir your videos helped me and my friends to get good marks in semester🙏

    • @SudhakarAtchala
      @SudhakarAtchala  Před rokem

      Congratulations. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

  • @sanjaysanju-vd9te
    @sanjaysanju-vd9te Před rokem

    Again you are legit god in my life

    • @SudhakarAtchala
      @SudhakarAtchala  Před rokem

      Thanks. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

  • @psrinivasulreddy2859
    @psrinivasulreddy2859 Před 8 měsíci +1

    My favourite in CZcams channel I have passed in Sem due to because of this sir so pls like ,share, subscribe

  • @yohanmullangi1621
    @yohanmullangi1621 Před 10 měsíci

    Thank you so much sir 🎉

    • @SudhakarAtchala
      @SudhakarAtchala  Před 10 měsíci

      Most welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

  • @user-lp7nl3uq2s
    @user-lp7nl3uq2s Před 4 měsíci

    Thank you sir

    • @SudhakarAtchala
      @SudhakarAtchala  Před 4 měsíci

      Most welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance...

  • @raoyt9127
    @raoyt9127 Před rokem

    Thank you so much sir

    • @SudhakarAtchala
      @SudhakarAtchala  Před rokem

      Most welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

  • @tejapraveendevarajuobulase1896

    AEFGCBD IS CORRECT if i start from bottom level

  • @chandrikac7686
    @chandrikac7686 Před 2 měsíci

    Sir Is it compulsory to do backtracking?

    • @SudhakarAtchala
      @SudhakarAtchala  Před 2 měsíci

      depends on problem. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

  • @sunilmahtocse3783
    @sunilmahtocse3783 Před 3 lety +2

    Please explain with c code

  • @gainknowledge3261
    @gainknowledge3261 Před 3 lety +3

    Is A,B,C,G,F,E,D is correct with out using back traversing

    • @SudhakarAtchala
      @SudhakarAtchala  Před 3 lety +1

      yes. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

    • @gainknowledge3261
      @gainknowledge3261 Před 3 lety +1

      @@SudhakarAtchala sure sir I am watching your vedios from so many days.you are the god for cse students.your hard work will definitely pay off to you sir.Glad to have the online guru like you sir❤️🙏

  • @Wkiop
    @Wkiop Před 5 měsíci

    Tq sir

    • @SudhakarAtchala
      @SudhakarAtchala  Před 4 měsíci

      Welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance...

  • @shaikmuheeb5526
    @shaikmuheeb5526 Před rokem

    Nice sir

    • @SudhakarAtchala
      @SudhakarAtchala  Před rokem

      Thanks . Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

  • @Sravanthi1655
    @Sravanthi1655 Před rokem

    Sir can we write program for dfs algorithm instead of writing step1, step2,.... algorithm?

    • @SudhakarAtchala
      @SudhakarAtchala  Před rokem +1

      yes we can. Plz subscribe to the channel and if possible share with your friends. Thanks in advance...

  • @srinivassss8476
    @srinivassss8476 Před rokem

    Sir is that mandatory to keep empty stack after 8th step

    • @SudhakarAtchala
      @SudhakarAtchala  Před rokem +1

      No, it's optional. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

  • @bokinalavijay6876
    @bokinalavijay6876 Před rokem

    Sir plz tell the program for this

    • @SudhakarAtchala
      @SudhakarAtchala  Před rokem

      Okay sure very soon. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

  • @sravanibandla8335
    @sravanibandla8335 Před 3 lety

    Sir please explain the algorithm

    • @SudhakarAtchala
      @SudhakarAtchala  Před 3 lety

      very soon i will upload sravani. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

    • @sravanibandla8335
      @sravanibandla8335 Před 3 lety

      @@SudhakarAtchala definitely I will share with my frnds. Thank you for your response.

  • @user-zv3ql9nu3m
    @user-zv3ql9nu3m Před rokem

    Sir we want a dfs program in c language sir

    • @SudhakarAtchala
      @SudhakarAtchala  Před rokem

      K. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

  • @aenugulasheikdadapeer5336

    Sir plz explain with code sir

    • @SudhakarAtchala
      @SudhakarAtchala  Před 2 lety

      As soon as possible. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

  • @varshithag.h7192
    @varshithag.h7192 Před 5 měsíci

    Tomarrow i hv ds exam im so scared

    • @SudhakarAtchala
      @SudhakarAtchala  Před 5 měsíci

      All the best. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..