Dijkstra's Algorithm: Shortest Path
HTML-код
- Опубликовано: 7 фев 2025
- Short Example of Dijkstra's Algorithm, If you guys would like an extended one with Time complexity and queue data structure please leave a comment in the description, when you update the vertex value to a smaller one is called relaxing an edge, something i forgot to mention in the video. Please subscribe for more.
Legit saved me hours befor the exam. Thank you so very much. You have a new subscriber now!
Can't believe bro is saving us still 7 years later
I watched prim's BFS dfs Kruskal's and dijk. You do way better than my professor. Subscribed . Thank you.
Thank you very much! I really appreciate that, more videos are on the way!
Great Explanation , please don't stop making videos , you are helping a lot of people.Liked and subscribed. Could you please make videos about Bellman Ford , Floyd , TSP and Knapsack as that would almost completely a mini-course.
Thank you very much for your comment Neo, that means a lot to me. I will start making the suggested algorithm videos as soon as I can.
Good explanation, only comment i want to make is " it doesn't matter if the graph is directed or not. Dijkstra's algorithm simply references the adjacent vertices of a vertex."
yes you are right, dijkstra's can be used on both
Thank you! Your explanation is very simple, straightforward and easy to understand!
Bro continues to save before finals. Thank you!
Excellent video, please do more.
Watching this video I realised that these algorithms are comprehendible! Thanks!!
best explanation ever..saves a lot of time ...keep going man
...make awesome videos like this..
:) thank you sir, i am going to upload more content
Simply excellent.
thank you
Your videos are fantastic.
thank you very much!
You are a miracle man
haha thank you
Very well explained ! Thank you !
thank you!
great example
Great video, helped a lot, thanks.
Good explanation
thank you
Nice work man :)
Excuse me, why did you have to go back to B and look for another 'way' why not go back to S and look for another 'way' ?
why would you go back to s?
Wouldn’t be the shortest path if you go back to “S” you mug
Sir is an application of dynamic programming
Can't see direction of edge of cost 6 between C and D.
what will be the relax function for Dijkstra Algorithm??
I think edges need not be only directed...
yes you can, good point, but most libraries expect a directed graph, unless you write your own, then you just need to keep track of them with an adjacency list.