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