Hash Set and 2d Array
800640Mar 30 2010 — edited Mar 30 2010Im making a Sudoku game, and i have a grid in the form of a 2d array and read in a txt file to fill the grid.
Im working on the solver and starting with hidden singles/pairs/triplets etc.
To find the possible numbers for each cell i have used a Hashset.
Before i continue with this and not waste my time tryin, is it possible to place the numbers from the hashset after a condition is met to locate hidden singles into the grid at the right location?
If this is not possible, what ways do people recommend for implementing hidden/pairs/triplets
Thanks