Fill 3x3 grid with set {1, 2, 3} like Sudoku
Filed under Salesforce
The question
Fill a 3x3 grid with numbers from the set {1, 2, 3} such that each column and row contains only 1 number from the set. Extend this to a 4x4 grid and further ensure diagonals also contain just 1 number from the set.
No write-up yet. Related questions below have one.
Related Salesforce questions
Collected from public candidate posts and coding forums. Updated Nov 2026.