Skip to content

Conversation

@poorvikaa08
Copy link

This PR adds an implementation of Dijkstra’s Algorithm in Java under the searches package.
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.

@poorvikaa08
Contributed as part of Hacktoberfest 2025 💜

@codecov-commenter
Copy link

codecov-commenter commented Oct 19, 2025

Codecov Report

❌ Patch coverage is 0% with 21 lines in your changes missing coverage. Please review.
✅ Project coverage is 77.87%. Comparing base (d5289b9) to head (c110945).

Files with missing lines Patch % Lines
...c/main/java/com/thealgorithms/graph/Dijkstras.java 0.00% 21 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #6840      +/-   ##
============================================
- Coverage     77.95%   77.87%   -0.09%     
- Complexity     6429     6430       +1     
============================================
  Files           736      737       +1     
  Lines         21476    21497      +21     
  Branches       4204     4207       +3     
============================================
- Hits          16742    16741       -1     
- Misses         4060     4082      +22     
  Partials        674      674              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@github-actions
Copy link

github-actions bot commented Nov 3, 2025

This pull request has been automatically closed because its workflows or checks failed and it has been inactive for more than 14 days. Please fix the workflows and reopen if you'd like to continue. Merging from main/master alone does not count as activity.

@github-actions github-actions bot closed this Nov 3, 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.

2 participants