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.
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @samueltapia542
    @samueltapia542 2 หลายเดือนก่อน +20

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

  • @khalidhussein8311
    @khalidhussein8311 11 หลายเดือนก่อน +50

    💀 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)

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

      😂 bruh

    • @infantalenency3561
      @infantalenency3561 22 วันที่ผ่านมา +2

      Ain't no fking way blud did that 💀

    • @sihamtenho6433
      @sihamtenho6433 6 วันที่ผ่านมา +2

      Go to the laboratory this is not for you

  • @Stannya
    @Stannya ปีที่แล้ว +57

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

  • @teflonczmotherboard4551
    @teflonczmotherboard4551 15 วันที่ผ่านมา +3

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

  • @a0b9180
    @a0b9180 ปีที่แล้ว +75

    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 TH-cam videos were better than my professor's, but your's is the best.

  • @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.

  • @realjoker1568
    @realjoker1568 8 หลายเดือนก่อน +2

    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!!

  • @trockenfruchte468
    @trockenfruchte468 11 หลายเดือนก่อน +17

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

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

  • @aliyuumargumel7869
    @aliyuumargumel7869 3 หลายเดือนก่อน +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.

  • @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.

  • @bekakbarovich7857
    @bekakbarovich7857 4 หลายเดือนก่อน +1

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

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

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

  • @ww-ko1ji
    @ww-ko1ji 2 หลายเดือนก่อน +3

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

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

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

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

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

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

    This is the best dijkstras explanation on youtube

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

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

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

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

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

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

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

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

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

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

  • @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.

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

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

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

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

  • @43_ayonroy4
    @43_ayonroy4 ปีที่แล้ว

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

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

    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

  • @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.

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

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

  • @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. 😊❤😊

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

    Great explanation, verbally and visual.

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

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

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

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

  • @mina.corner
    @mina.corner 5 หลายเดือนก่อน

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

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

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

  • @MoMo-ue9ff
    @MoMo-ue9ff 11 หลายเดือนก่อน

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

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

    Amazing video, easy to follow and very clear.

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

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

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

    Finally I understand this algorithm, thank you.

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

    Best explanation video ever. Thank you good sir

  • @vishalkarna3763
    @vishalkarna3763 2 หลายเดือนก่อน +1

    Awesome explanation of Dijkstras Algorithm

  • @ShitritarielChannel
    @ShitritarielChannel 17 วันที่ผ่านมา +2

    100/100 explaining , thank you so much

  • @williamhogrider4136
    @williamhogrider4136 วันที่ผ่านมา +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  วันที่ผ่านมา +1

      Good luck with the exam :)

    • @williamhogrider4136
      @williamhogrider4136 14 ชั่วโมงที่ผ่านมา

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

    • @FelixTechTips
      @FelixTechTips  8 ชั่วโมงที่ผ่านมา

      @@williamhogrider4136 Let's go! 🚀

  • @mikhailwebb8377
    @mikhailwebb8377 6 หลายเดือนก่อน +1

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

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

    Awesome content. You explained it so well. Kudos!

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

    Very very good explanation.
    You are the best

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

    everything was so clear! AMAZING! c:

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

    beautifully done. this is a work of art.

  • @xinyue6895
    @xinyue6895 2 หลายเดือนก่อน +1

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

  • @ashkantaherizadeh8476
    @ashkantaherizadeh8476 4 หลายเดือนก่อน +1

    Perfect man Thanks so much you saved my course

  • @RAN-os5gz
    @RAN-os5gz 2 ปีที่แล้ว

    Thank you for helping me understand this algorithm

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

    Very clear and effective approach

  • @imanghavasieh5366
    @imanghavasieh5366 2 หลายเดือนก่อน +1

    Wonderful video! Very helpful! Thank you!❤

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

    Love you man. Beautiful explanation.

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

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

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

    very clear, very helpful. Thank you !

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

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

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

    it helped me understanding the algorithm. thank u very much

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

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

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

    great job! wonderful explanations.

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

    Simple and Brilliant. Thank you sir

  • @Diablo1313-
    @Diablo1313- ปีที่แล้ว

    Thank you! This is an amazing explanation

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

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

  • @haqizza
    @haqizza 5 วันที่ผ่านมา

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

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

    Thank you and best explanation for starters

  • @Rajivrocks-Ltd.
    @Rajivrocks-Ltd. ปีที่แล้ว

    Very clear and concise!

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

    yes this video helped. thank you for doing this!

  • @abrorallaberganov6293
    @abrorallaberganov6293 2 วันที่ผ่านมา +1

    Thanks. It is great tutorial and easy to understand

  • @dreb.7760
    @dreb.7760 2 หลายเดือนก่อน +1

    thanks Felix, explained very well

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

    Thanks sir! Great video.

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

    Thanks sir. It's really helpful and fantastic.

  • @deyoz1
    @deyoz1 2 หลายเดือนก่อน +1

    Most clear explaination.

  • @harisansari8876
    @harisansari8876 3 หลายเดือนก่อน +1

    very good explanation! thanks

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

    Thanks a lot. Great presentation!

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

    Thank you for this great tutorial.

  • @icalized6357
    @icalized6357 6 หลายเดือนก่อน +3

    Thanks a lot man. You explained it in such a easy way and the animations helped a lot in understanding. Definitely explained so much better than those videos on top of the search list

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

    Clear and compact 👍

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

    Thanks, clear and concise.

  • @AsifKhan-qm4ji
    @AsifKhan-qm4ji หลายเดือนก่อน +1

    Thank you for well explanation 👍

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

    God bless you, extremely helpful video

  • @christophernoble8284
    @christophernoble8284 6 หลายเดือนก่อน +2

    Best explanation on youtube. Thanks

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

    Great explanation!

  • @j.rubengomez35
    @j.rubengomez35 10 หลายเดือนก่อน

    Very good explanation!

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

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

    This was soo helpful .
    thank you

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

    this is very helpful. thanks !!

  • @SumagaysayVinceZ.
    @SumagaysayVinceZ. 2 หลายเดือนก่อน +1

    thank you broo
    it really helps me

  • @muralikrishnay2734
    @muralikrishnay2734 2 หลายเดือนก่อน +1

    This is really impressive

  • @krzysztofkondracki7967
    @krzysztofkondracki7967 3 หลายเดือนก่อน +1

    Very helpful video cheers

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

    Thank you so much, it was helpful

  • @petersonkariuki8300
    @petersonkariuki8300 6 หลายเดือนก่อน +1

    Good and well explained.

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

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

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

    thanks for the amazing explanation man

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

    Thank you so much, you are great.

  • @SakshiSingh-de9of
    @SakshiSingh-de9of 4 หลายเดือนก่อน

    Excellent explanation :)

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

    Great explanation.

  • @aarondanen3150
    @aarondanen3150 วันที่ผ่านมา +1

    great video thanks man

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

    Fantastic bro, thanks a lot