Sudoku Solver

Problem

Given a 9 × 9 Sudoku board, replace every . with a digit 1–9 so that each row, column, and 3 × 3 box contains every digit exactly once. Do not change existing digits.

The original ...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: