Skip to content

Added a new Feature called Sudoku Solver by using Backtracking and Re… #5698

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from

Conversation

captiosus1
Copy link

Description:
Implemented a Sudoku solver that uses a backtracking approach to solve any valid Sudoku puzzle.
Added functionality to check if placing a number in a specific cell is valid, adhering to Sudoku's row, column, and sub-grid rules.
Includes a method to print the solved Sudoku board.
Added handling for unsolvable Sudoku cases, with a clear output indicating whether the puzzle can be solved.

@codecov-commenter
Copy link

codecov-commenter commented Oct 10, 2024

Codecov Report

Attention: Patch coverage is 0% with 36 lines in your changes missing coverage. Please review.

Project coverage is 59.56%. Comparing base (6535d47) to head (b60338e).

Files with missing lines Patch % Lines
...a/com/thealgorithms/backtracking/SudokuSolver.java 0.00% 36 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #5698      +/-   ##
============================================
- Coverage     59.72%   59.56%   -0.16%     
+ Complexity     3854     3853       -1     
============================================
  Files           560      561       +1     
  Lines         16011    16047      +36     
  Branches       3072     3085      +13     
============================================
- Hits           9563     9559       -4     
- Misses         6045     6083      +38     
- Partials        403      405       +2     

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

@captiosus1 captiosus1 closed this Oct 10, 2024
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