Search
⌘K

Leetcode 36. Valid Sudoku

Check a 9x9 Sudoku board is valid by verifying that no digit 1–9 (ignoring '.') appears more than once in any row, column, or 3x3 sub-box. Return true if all these constraints hold for the partially filled board.

Asked at:

Microsoft

Microsoft


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Late April, 2026

Microsoft

Microsoft

Mid-level

Hackerrank codepair round, was asked Valid Sudoku,I couldn't code running solution, I was able to explain the approach and solution verbally, then proceeded to write code, I was not able to properly understand how to check for inner squares.

Your account is free and you can post anonymously if you choose.