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…
More Meta interview questions
- LLM conceptual questions
- Implement a Two-Hidden-Layer MLP with Backpropagation in NumPy
- Dot Product with Run-Length Encoded Vectors
- Count Lakes Wrapped by a Given Island
- Minimum Remove to Make Valid Parentheses
- LLM with Beam Search and Nucleus Sampling (Meta MSL)