Skip to content

Conversation

@Souradeephazra123
Copy link
Contributor

Dijkstra's algorithm is used to find the shortest path in a weighted graph, where the edge weights are non-negative. Here's a simple C++ implementation of Dijkstra's algorithm to find the shortest path from a source vertex to all other vertices in a weighted graph represented as an adjacency matrix.

Copy link

@naikmubashir naikmubashir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Nikhil-2002 Nikhil-2002 merged commit c33d76a into Nikhil-2002:main Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants