How can I store the occurences of a number in a sudoku subgrid (3×3)?
So I’ve been trying to store all the occurences of numbers from 1 to 9 in an array. I’ve succeeded for rows and columns and tried to apply the same logic for subgrids of 3×3 but to no avail.