Valid Sudoku Without Hash

Asked at Meta · Coding & Leetcode-style Questions · Difficulty: Medium

Given a 9x9 Sudoku board, determine if it is valid. The board should be filled with digits 1 to 9 and empty spaces represented by `'.'`. Each column, row, and each of the nine 3x3 sub-boxes should contain all unique digits. You must not use a hash table to accomplish the task. Write a function to validate the Sudoku board.

Loading the problem…