Competitive Programming with Python | Dijkstra's algorithm for Weighted Directed Graph

preview_player
Показать описание
Title: Dijkstra's algorithm for Weighted Directed Graph
Description: Dijkstra's algorithm | Single Source Shortest Path | Weighted Directed Graph

#CompetitiveProgramming #ProgrammingKnowledge #DijkstrasAlgorithm #NumberTheory #Python #Sieve #BitMagic
★★★Top Online Courses From ProgrammingKnowledge ★★★

★★★ Online Courses to learn ★★★

★★★ Follow ★★★

DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!
Рекомендации по теме
Комментарии
Автор

For people who are confused about 6 7 as an input in the beginning, 6 is the number of routers and 7 is the number of links

rasheednazar
Автор

Absolutely it up make more competitive algorithms with python

amanagrawal
Автор

You need to check if the current edge to the vertex is smaller than the already existing vertex, else it won't work. Although nice use of heapq

BlackHammer-covu
Автор

You have given the Shortest distance from source to destination. Can you also print the shortest path??

ABDULHAQ-dgpl
Автор

why not keep a track of visited nodes?

atifadib
Автор

can you please make video for weighted undirected graph

vaishalilutade
Автор

Hi, how can I update the weight or even delete a tuple from the list? I tried so many things but it doesn't seem to be working!

fifituus
Автор

bro here u using max heap am i correct? how to use min heap pls explain.

shouvikdutta
Автор

Mobile pr kr sakty hain ..agr kr sakty hain toh koi app bata dain

vanizaaly
Автор

please also implement on c++ and java..

sandeepmandal
Автор

Eakdum ghatiya teacher ho bhai Tum pehle apne dosto se puch lia karo ki kaisa lag raha hai samjhane ka tarika, .... tum toh bas copy me likh lie ho aur usko type karte ja rehe ho, ye batana ni hai ki kon function kaha ja raha hai aur kon variable kya kar raha hai, program kaise run ho raha hai .. 😪😪😪 i am totally disappointed

MereDaddyJi
visit shbcf.ru