Open main menu
CDOT Wiki
β
Search
Changes
← Older edit
Newer edit →
TriForce
42 bytes removed
,
12:08, 3 April 2019
→
Assignment 1: Sudoku Solver
/* Check if 'num' is not already placed in current row,
current column and current 3x3 box */
return !UsedInRow(grid, row, num) &&
!UsedInCol(grid, col, num) &&
!UsedInBox(grid, row - row%3 , col - col%3, num)&&
grid[row][col]==UNASSIGNED;
}
Vincent Terpstra
112
edits