Gaurav Sahayuselessmachine.hashnode.dev·Jan 15, 2023Dijkstra's AlgorithmThis algorithm is used to get the shortest path from the source node to all other nodes. Data structures Required: Min Heap(Priority Queue, Set, etc), Arrays. Algorithm: Initialize the distance array with infinity so that later we can update them w...1 likealgorithmsAdd a thoughtful commentNo comments yetBe the first to start the conversation.