Dijkstras Shortest Path Algorithm Explained | With Example | Graph Theory

Поділитися
Вставка
  • Опубліковано 25 вер 2020
  • I explain Dijkstra's Shortest Path Algorithm with the help of an example.
    This algorithm can be used to calculate the shortest distance between one node and every other node in a weighted graph.
    If you want to learn more about algorithms, check out my Basic Algorithms in Python Playlist and subscribe to this channel.
  • Наука та технологія

КОМЕНТАРІ • 252

  • @samueltapia542
    @samueltapia542 2 місяці тому +31

    The day I succesfully graduate from my CS major, you'll be in the list of persons I'm grateful with

  • @Stannya
    @Stannya Рік тому +62

    This is absolutely the most clear video on Dijkstra's algorithm. Thank you!

  • @teflonczmotherboard4551
    @teflonczmotherboard4551 Місяць тому +6

    Wow, I just installed the algorithm to the brain in 8 minutes🧠. Thank you, Sir.

  • @a0b9180
    @a0b9180 Рік тому +76

    Thank you, you worked hard to bring together this animation and you covered different use cases. Fantastic. I was struggling with my professor's explanation. The other UA-cam videos were better than my professor's, but your's is the best.

  • @trockenfruchte468
    @trockenfruchte468 Рік тому +18

    That was - in my opinion - way better and especially easier explained than every other video that was on the top of the list

  • @tsankhulojamson5970
    @tsankhulojamson5970 2 роки тому +32

    Honestly speaking, this has been helpful.
    We have understood the whole concept behind the Dijkstra's algorithm within a very short period of time.
    Thanks a lot sir.

  • @khalidhussein8311
    @khalidhussein8311 Рік тому +61

    💀 I am not a computer science student but boy did I enjoy learning this (aim a pharmacy student I don't know why I watched this)

  • @realjoker1568
    @realjoker1568 9 місяців тому +3

    This is the best explanation I found of Djikstra! And the only one so far that has explained how to reconstruct the original path!
    Thanks a lot!!

  • @aliyuumargumel7869
    @aliyuumargumel7869 4 місяці тому +3

    This is the clearest explanation to this algorithm I've ever encountered with.

  • @aidenstephens2232
    @aidenstephens2232 Рік тому +2

    Before I found your video I watched and read probably 10 different articles and videos on Dijkstra’s and had about 0 understanding. All I had to do was watch your video one time and I was able to work it out and implement it completely, thanks so much.

  • @ww-ko1ji
    @ww-ko1ji 2 місяці тому +3

    the step by step demonstration of this algorithm made it clear to me. thanks❤

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

    This is the best dijkstras explanation on youtube

  • @FelixTechTips
    @FelixTechTips  3 роки тому +29

    Was this video helpful? Which algorithm do you want me to cover next? 💻👇
    0:00 Introduction
    0:30 Example
    7:15 Backtracking the shortest path from A to C

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

      It is more than 100% helpful sir.
      Honestly speaking we have understood the whole concept behind the Dijkstra's algorithm within a very short period of time.
      May you do the same for other algorithms like:
      Bellman-Ford
      Floyd Warshall
      Johnson's Algorithm and even A star search please
      This is from University of Malawi.

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

      This video is simple and straight forward. We have really liked it

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

      you should ping this

  • @luisherrada828
    @luisherrada828 8 днів тому

    So simply and beautifully explained. I went through several videos on this topic and you are on the podium.

  • @bekakbarovich7857
    @bekakbarovich7857 5 місяців тому +1

    The best explanation I've come up so far. Bravo!

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

    This was the final puzzle piece I needed for an Advent of Code challenge. Thank you!

  • @himu1901
    @himu1901 2 роки тому +4

    Best explanation man!! Now my concept is crystal clear.

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

    Thank you, this is the best explanation on Dijkstra's. Very clear and precise, and I can easily code them in a computer language.

  • @SkySentry7
    @SkySentry7 2 роки тому +6

    THANK YOU VERY MUCH KIND SIR! U JUST DONT KNOW HOW MUCH OF A HELP U'VE BEEN! GOD BLESS

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

    Amazing explanation! Such a detailed, yet simple illustration of the Dijkstra's algorithm.

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

    absolutely awesome. this is the best video i found about dijkstras shortest path algorithm in youtube. Thanks man. simple and neat.

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

    Thank you so much sir, this video helps me a lot! It makes the algorithm much easier to understand.

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

    Excellent and lucid explanation. Best video on youtube for dijiksta algorithm

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

    That was a brilliant explanation, you just made it easy to understand. Thank you.

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

    Great explanation, verbally and visual.

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

    The best explanation of Dijkstra algorithm, Thank you

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

    Thanks a lot for explaining this graphically instead of with code in simple terms.

  • @43_ayonroy4
    @43_ayonroy4 Рік тому

    Best video i found on this algorithm so far, thanks a lot

  • @Rigel_Kuriom_Mandara
    @Rigel_Kuriom_Mandara 4 місяці тому +1

    Thanks,,, now I can understand the Dijkstra’s algorithm in the context of how data packets from a certain host try to find their shortest way to reach their destination via the shortest route possible. 😊❤😊

  • @GonaLEE
    @GonaLEE 8 місяців тому

    Thank you so much, can understand fastly and exactly regarding Dijkstra’s algorithm.

  • @theoxc
    @theoxc 9 місяців тому

    Very clear and to the point explained, vielen Dank!!

  • @mikhailwebb8377
    @mikhailwebb8377 6 місяців тому +1

    Without a doubt, the best explanation of Dijkstra algorithm on UA-cam.

  • @nilsodor
    @nilsodor Рік тому +2

    Wow very clear! I love this human way of simplifying technical stuff!

  • @atomicCache_
    @atomicCache_ Місяць тому +2

    Thanks for the explaining the Dijkstra algorithm so well. 😊😊

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

    Finally I understand this algorithm, thank you.

  • @georgeoneal3641
    @georgeoneal3641 11 місяців тому

    Amazing and effortless elucidation of Dijkstra. Thanks so much, I wish that you'd teach Bellmann Ford. Thanks a lot! One more subscriber you've gotten. Welldone

  • @ShitritarielChannel
    @ShitritarielChannel Місяць тому +2

    100/100 explaining , thank you so much

  • @catalinalebedina5965
    @catalinalebedina5965 11 місяців тому

    Amazing video, easy to follow and very clear.

  • @saquibsaiyyed6745
    @saquibsaiyyed6745 2 роки тому +4

    Thank you so much for all your content. I struggled a lot to understand data structure and your videos certainly put that on end. you are doing great job there.

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

    Thank you very much! clear speaking... best video about Dijkstra's also so far!!!

  • @lalith_kumar_akhila2411
    @lalith_kumar_akhila2411 9 місяців тому

    Hey! Thank you Felix, for the easy and crisp explanation.. I Appreciate it

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

    Wonderful video! Very helpful! Thank you!❤

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

    thank you for this great video! I finally understand djikstras algorithm

  • @williamhogrider4136
    @williamhogrider4136 22 дні тому +1

    Tomorrow is my Design amd Analysis of Algorithms exam, your videos on quick, merge sort and now this have been really helpful. Thanks man.

    • @FelixTechTips
      @FelixTechTips  22 дні тому +1

      Good luck with the exam :)

    • @williamhogrider4136
      @williamhogrider4136 21 день тому

      ​@@FelixTechTips I think I did well, feels good ending the semester like this (⁠ ⁠◜⁠‿⁠◝⁠ ⁠)

    • @FelixTechTips
      @FelixTechTips  21 день тому

      @@williamhogrider4136 Let's go! 🚀

  • @vishalkarna3763
    @vishalkarna3763 3 місяці тому +1

    Awesome explanation of Dijkstras Algorithm

  • @abdoulhamidzeba9257
    @abdoulhamidzeba9257 8 місяців тому

    Thank you so much for this explanation, one of the best In have seen so far.

  • @MoMo-ue9ff
    @MoMo-ue9ff Рік тому

    Thank You for this concise explanation of Dijikstra algorithm. I still need to look at it a few more times though.

  • @haqizza
    @haqizza 26 днів тому

    I like the example graph you make. With doesn't make it find the best in the first search, it makes me understand better

  • @dreb.7760
    @dreb.7760 3 місяці тому +1

    thanks Felix, explained very well

  • @justjerono
    @justjerono 11 місяців тому +1

    Best explanation video ever. Thank you good sir

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

    very clear, very helpful. Thank you !

  • @ashkantaherizadeh8476
    @ashkantaherizadeh8476 5 місяців тому +1

    Perfect man Thanks so much you saved my course

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

    it helped me understanding the algorithm. thank u very much

  • @anandmaha1
    @anandmaha1 5 місяців тому

    beautifully done. this is a work of art.

  • @amalsalim88
    @amalsalim88 Місяць тому +1

    yes this video helped. thank you for doing this!

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

    Very clear and effective approach

  • @Rajivrocks-Ltd.
    @Rajivrocks-Ltd. Рік тому

    Very clear and concise!

  • @RAN-os5gz
    @RAN-os5gz 2 роки тому

    Thank you for helping me understand this algorithm

  • @mina.corner
    @mina.corner 6 місяців тому

    Thank you so much for your clear explanation. It is straight to the point, easy to understand, therefore, really helpful for me.

  • @mazenmagdimohamedahmedmors6989

    everything was so clear! AMAZING! c:

  • @abrorallaberganov6293
    @abrorallaberganov6293 23 дні тому +1

    Thanks. It is great tutorial and easy to understand

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

    Awesome content. You explained it so well. Kudos!

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

    Love you man. Beautiful explanation.

  • @jerryrockson7023
    @jerryrockson7023 4 місяці тому

    Simple and Brilliant. Thank you sir

  • @harisansari8876
    @harisansari8876 4 місяці тому +1

    very good explanation! thanks

  • @deyoz1
    @deyoz1 3 місяці тому +1

    Most clear explaination.

  • @Diablo1313-
    @Diablo1313- Рік тому

    Thank you! This is an amazing explanation

  • @mahirtaz3729
    @mahirtaz3729 11 місяців тому

    great job! wonderful explanations.

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

    Thanks sir! Great video.

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

    Very very good explanation.
    You are the best

  • @leeschloss4840
    @leeschloss4840 11 місяців тому

    Awesome. Was confusing on w3schools, and this really helped.

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

    Thank you and best explanation for starters

  • @AsifKhan-qm4ji
    @AsifKhan-qm4ji 2 місяці тому +1

    Thank you for well explanation 👍

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

    Thanks a lot had trouble understanding this concept you cleared the jam

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

    Thanks a lot. Great presentation!

  • @hudahamed9658
    @hudahamed9658 5 місяців тому

    Thank you so much, i hope to find other topics for this course on your channel, because I liked the way of explanation.

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

    Thanks, clear and concise.

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

    Thank you for this great tutorial.

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

    thank you broo
    it really helps me

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

    Thank you very much indeed. l was strugling to understand this now it is easy to me

  • @krzysztofkondracki7967
    @krzysztofkondracki7967 4 місяці тому +1

    Very helpful video cheers

  • @muralikrishnay2734
    @muralikrishnay2734 3 місяці тому +1

    This is really impressive

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

    Thanks sir. It's really helpful and fantastic.

  • @christophernoble8284
    @christophernoble8284 7 місяців тому +2

    Best explanation on youtube. Thanks

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

    this is very helpful. thanks !!

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

    Great explanation!

  • @mohammedamran143
    @mohammedamran143 5 місяців тому

    Thank you so much, you are great.

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

    This was soo helpful .
    thank you

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

    thanks for the amazing explanation man

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

    Clear and compact 👍

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

    God bless you, extremely helpful video

  • @user-re3il2pz5b
    @user-re3il2pz5b 4 місяці тому +1

    perfect job thank you lot ✌

  • @aarondanen3150
    @aarondanen3150 22 дні тому +1

    great video thanks man

  • @j.rubengomez35
    @j.rubengomez35 11 місяців тому

    Very good explanation!

  • @petersonkariuki8300
    @petersonkariuki8300 7 місяців тому +1

    Good and well explained.

  • @dasturchi5107
    @dasturchi5107 5 місяців тому

    Fantastic bro, thanks a lot

  • @miso-ge1gz
    @miso-ge1gz Рік тому

    Thank you. This is much easier to understand than the nightmare full of math notation our professor wrote. I hate academics so much

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

    thanku very much !!!!!! you saved us !!!!!!!!

  • @pushandeb187
    @pushandeb187 5 місяців тому

    this is quite good...thanks a lot

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

    Thank you so much, it was helpful