[7.4] Depth First Search(DFS) in Python | Data Structures in Python

Поділитися
Вставка
  • Опубліковано 15 чер 2021
  • Depth First Search algorithm is used to traverse graph or binary tree in such a way that it initially ignores the adjacent nodes and keep exploring the current node recursively.
    In this tutorial we have used plain recursion to implement DFS in python.
    🔗Important Links:
    Data Structures in Python: www.thinkxacademy.com/Data%20...
    Data Structures in Python(Playlist): • Data Structures in Python
    🌐Join our community:
    Android App(Notes+Videos): play.google.com/store/apps/de... Facebook: / thinkxacademy Twitter: / thinkxacademy Instagram: / thinkxacademy
    #dsa #python #dfs #datastructuresandalgorithms #dsalgo #graphinpython

КОМЕНТАРІ • 31

  • @Ruin3.14
    @Ruin3.14 Рік тому +5

    I've struggled with dfs and bfs and your tutorials are what I needed. Thank you

  • @smith_24
    @smith_24 Рік тому +3

    thank you so much.... for the detailed explanation..... needed it the most! Keep posting such detailed explainations!

  • @mister_bake2743
    @mister_bake2743 8 місяців тому +2

    Thanks, mate. Great explanation as usual!

  • @devarshisingh9349
    @devarshisingh9349 2 місяці тому +1

    could have used stack. but good explanation any way.

  • @arthgupta614
    @arthgupta614 Рік тому +3

    bro you really helped me alot keep on posting such quality and concised tutorials

    • @ThinkXAcademy
      @ThinkXAcademy  Рік тому +1

      Thanks arth😄 Do share with other students👍🏻

  • @subratsingh6204
    @subratsingh6204 Рік тому +4

    precise info and good explanation ! Thanks for makign this!

  • @Akash-dd6ev
    @Akash-dd6ev Рік тому

    thank you so much, good explanation

  • @shaneebkottakkal3491
    @shaneebkottakkal3491 Рік тому +1

    Great tutorial bro, keep Going

  • @pabloescoblart2605
    @pabloescoblart2605 Рік тому +1

    great tutorial!

  • @013mohammedsaif3
    @013mohammedsaif3 6 місяців тому

    Great explanation sir !!

  • @diwakarsharma2821
    @diwakarsharma2821 2 роки тому +2

    Really clean and helpful

    • @ThinkXAcademy
      @ThinkXAcademy  2 роки тому

      Thanks😀This really motivates me to create these videos😄

  • @dishandshah660
    @dishandshah660 Місяць тому

    Thank you!

  • @BHANUPRAKASH-nc8hz
    @BHANUPRAKASH-nc8hz 2 роки тому

    thank u bro for a clear explanation

  • @krrishshylock6984
    @krrishshylock6984 Рік тому

    Thanks Bhai

  • @shaneebkottakkal3491
    @shaneebkottakkal3491 Рік тому

    quality content

  • @arielcototapia1746
    @arielcototapia1746 Рік тому +1

    i will be very helpfully if u put any subtitles

  • @muhammadiftikhar3152
    @muhammadiftikhar3152 3 роки тому +2

    Dear Sir,kya ek full stack developer ko cloud ana chaheye. Or agr haan tu aws ki kon se certification krne chaheye.

    • @ThinkXAcademy
      @ThinkXAcademy  3 роки тому +1

      if you will leran cloud it will help you a lot in web development since a lot of companies use cloud for backend, I will suggest you to take AWS cloud practitioner it will be sufficient ✅

  • @varunshrivastava2706
    @varunshrivastava2706 2 роки тому

    In dfs does it matter from which side we start traversal left or right?

    • @ThinkXAcademy
      @ThinkXAcademy  2 роки тому +1

      No it does not but using different will give different results

  • @fatimasalah7006
    @fatimasalah7006 Рік тому

    Thank you so much

  • @shyamsingharoy4853
    @shyamsingharoy4853 Рік тому

    💥

  • @suneosama939
    @suneosama939 7 місяців тому

    E[] for neighbour in graph[E] why it work? Abecd, e doesn't have c, can anybody explain? 😅

  • @pcexpertsahil
    @pcexpertsahil 2 роки тому

    I need your help urgently ! Can you please help me with my college assignment? I have to implement breadth-first algorithm into into matrix of n by n size and value of this n is taken from the user as input. This matrix has all the values of 1's and 0's . The zeros in are randomly placed and the quantity of 0's is 10% of the total matrix size nXn.Rest All values are filled with ones. The zeroes are considered to be obstacles and job is to reach from any bottom most corner point to top most corner point preferably diagonally opposite points. I also have to do this same problem by A star search algorithm and compare the time difference between the two.