Skip to content

Conversation

@poorvikaa08
Copy link

@poorvikaa08 poorvikaa08 commented Oct 19, 2025

This PR adds an implementation of Dijkstra’s Algorithm in Java under the searches folder.
The algorithm finds the shortest path from a source vertex to all other vertices in a weighted graph with non-negative edges.

Reference: Dijkstra’s Algorithm - Wikipedia

  • I have read CONTRIBUTING.md.
  • This pull request is all my own work -- I have not plagiarized it.
  • All filenames are in PascalCase.
  • All functions and variable names follow Java naming conventions.
  • All new algorithms have a URL in their comments that points to Wikipedia or other similar explanations.
  • All new code is formatted with clang-format -i --style=file path/to/your/file.java.

👩‍💻 Author
@poorvikaa08
Contributed as part of Hacktoberfest 2025 💜

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant