Created
April 29, 2017 03:18
-
-
Save rharriso/e056eba986bb1d8a65d8a35aa879a54a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// adjust to deque for pushing back on front | |
using cellQueue = deque<shared_ptr<SudokuCell>>; | |
class SudokuBoard { | |
cellQueue cells; | |
public | |
/* | |
* ..... | |
*/ | |
// fill the board with valid solution | |
void fillCells(){/* ... */} | |
// recursive step for filling the board | |
bool doFillCells(cellQueue &remainingCells) {/* ... */} | |
/* | |
* ..... | |
*/ | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment