Skip to content

Conversation

@prashantdubeypng
Copy link

@prashantdubeypng prashantdubeypng commented Dec 11, 2025

  • 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

24051547-DIV and others added 5 commits December 11, 2025 00:28
- Removed incorrectly placed .class files and Main.java from root
- Added BreadthFirstSearch.java with proper package structure
- Implemented generic and integer-based BFS traversal methods
- Added comprehensive test coverage in BreadthFirstSearchTest.java
- Fixed bug in original BFS where 'src' was used instead of 'current' node
- Follows project conventions and coding standards

Fixes TheAlgorithms#7158

Co-authored-by: Divyansh1802 <[email protected]>
@codecov-commenter
Copy link

Codecov Report

❌ Patch coverage is 82.81250% with 11 lines in your changes missing coverage. Please review.
✅ Project coverage is 78.88%. Comparing base (a8bc9cc) to head (521e9af).

Files with missing lines Patch % Lines
...thms/datastructures/graphs/BreadthFirstSearch.java 82.81% 1 Missing and 10 partials ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #7160      +/-   ##
============================================
+ Coverage     78.87%   78.88%   +0.01%     
- Complexity     6828     6848      +20     
============================================
  Files           766      767       +1     
  Lines         22607    22671      +64     
  Branches       4444     4463      +19     
============================================
+ Hits          17831    17884      +53     
- Misses         4064     4065       +1     
- Partials        712      722      +10     

☔ 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.

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.

4 participants