Solve Sudoku

FREEMIUM
Durch Sean Osier | Aktualisiert il y a 4 jours | Gaming
Popularität

7.2 / 10

Latenz

1,791ms

Service Level

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
API-Ersteller:
Rapid account: Sean Osier
Sean Osier
sosier
Melden Sie sich bei Rate API an
Bewertung: 2.3 - Stimmen: 3