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

Опубликовано: 22 Декабрь 2021
на канале: Shiran Afergan
9,578
304

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.


На этой странице сайта вы можете посмотреть видео онлайн Dijkstra’s Algorithm for Coding Interviews | Single Source Shortest Path (Greedy Algorithm) длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Shiran Afergan 22 Декабрь 2021, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 9,578 раз и оно понравилось 304 зрителям. Приятного просмотра!