Solve Sudoku

GRATIS CON POSSIBILITร€ DI UPGRADE
Da Sean Osier | Aggiornamento hace un mes | Gaming
Popolaritร 

8 / 10

Latenza

1,762ms

Livello di servizio

100%

Health Check

N/A

README

Solve Sudoku API

Solves standard 9 x 9 Sudoku puzzles

Input

You provide a JSON body with a puzzle parameter.

For example:

{
  "puzzle": "2.............62....1....7...6..8...3...9...7...6..4...4....8....52.............3"
}

puzzle should be a string of length 81 (9 x 9) with the first 9 characters corresponding to the first row of 9 squares, the next 9 to second row, and so on. Numbers 1-9 will be considered filled squares. All other characters are treated as blank squares.

Output

The API will return a JSON object of the structure:

{
    "solvable": True
    "solution": "284375196739816254651942378476128539312594687598637412143769825965283741827451963" 
}

solvable will beTrue if the puzzle you provided is solvable, and False if it is not.

solution will be the 81 character string solution to the puzzle you provided if solvable. If the puzzle is not solvable, solution will be an empty string "".

Solve Sudoku API

Solves standard 9 x 9 Sudoku puzzles

Input

You provide a JSON body with a puzzle parameter.

For example:

{
  "puzzle": "2.............62....1....7...6..8...3...9...7...6..4...4....8....52.............3"
}

puzzle should be a string of length 81 (9 x 9) with the first 9 characters corresponding to the first row of 9 squares, the next 9 to the second row, and so on. Numbers 1-9 will be considered filled squares. All other characters are treated as blank squares.

Output

The API will return a JSON object of the structure:

{
    "solvable": True
    "solution": "284375196739816254651942378476128539312594687598637412143769825965283741827451963" 
}

solvable will be True if the puzzle you provided is solvable, and False if it is not.

solution will be the 81 character string solution to the puzzle you provided if solvable. If the puzzle is not solvable, solution will be an empty string "".

Follower: 30
Creatore dell'API:
Rapid account: Sean Osier
Sean Osier
sosier
Accedi per valutare l'API
Valutazione: 2.3 - Voti: 3