Loading...
「ツール」は右上に移動しました。
利用したサーバー: wtserver3
291いいね 8915回再生

Dijkstra’s Algorithm for Coding Interviews | Single Source Shortest Path (Greedy Algorithm)

We'll cover everything you need to know about Dijkstra's algorithm for your coding interview.
Dijkstra is a very important graph algorithm.
It is a greedy algorithm used to find the shortest path from a single source node to all other nodes in a graph.
In this video, we’ll learn when to use Dijkstra, how Dijkstra works (with pseudo code, actual code and an example walk through) and we’ll finish with a space & time complexity analysis.
Dijkstra can be used to solve a variety of coding interview questions.
We’ll use the algorithm and code we write in this video in the next one, to solve 2 LeetCode coding questions.

コメント