Validate a Sudoku Board

Given a partially filled 9×9 Sudoku board, determine whether the current board is valid.

A valid board must satisfy:

  1. Each row must not contain duplicate digits from 1 to 9.
  2. Each column mus...

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: