Skip to content

feat: implement Sudoku Solver with full coverage and fixed legacy Jav…#7422

Open
subhammohanty-sys wants to merge 6 commits into
TheAlgorithms:masterfrom
subhammohanty-sys:feat/sudoku-solver-backtracking
Open

feat: implement Sudoku Solver with full coverage and fixed legacy Jav…#7422
subhammohanty-sys wants to merge 6 commits into
TheAlgorithms:masterfrom
subhammohanty-sys:feat/sudoku-solver-backtracking

Conversation

@subhammohanty-sys
Copy link
Copy Markdown

Changes :-

  • Sudoku Solver - Implemented a backtracking-based solver with pre-validation logic.
  • Legacy Fix - Fixed Dangling Javadoc warnings in some files which caused build failures under strict -Werror settings.
  • Testing - Achieved full test coverage using JUnit 5.
    Closes [FEATURE REQUEST] Add Sudoku Solver using Backtracking #6929
  • [x ] I have read CONTRIBUTING.md.
  • [x ] This pull request is all my own work -- I have not plagiarized it.
  • [x ] All filenames are in PascalCase.
  • [x ] All functions and variable names follow Java naming conventions.
  • [x ] All new algorithms have a URL in their comments that points to Wikipedia or other similar explanations.
  • [x ] All new algorithms include a corresponding test class that validates their functionality.
  • [x ] All new code is formatted with clang-format -i --style=file path/to/your/file.java

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 13, 2026

Codecov Report

❌ Patch coverage is 94.28571% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 79.60%. Comparing base (e7f8979) to head (a47ccbf).

Files with missing lines Patch % Lines
...a/com/thealgorithms/backtracking/SudokuSolver.java 97.05% 0 Missing and 1 partial ⚠️
...om/thealgorithms/conversions/AnyBaseToAnyBase.java 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #7422      +/-   ##
============================================
+ Coverage     79.56%   79.60%   +0.03%     
  Complexity     7197     7197              
============================================
  Files           799      799              
  Lines         23501    23497       -4     
  Branches       4624     4624              
============================================
+ Hits          18699    18704       +5     
+ Misses         4054     4045       -9     
  Partials        748      748              

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

[FEATURE REQUEST] Add Sudoku Solver using Backtracking

2 participants