| 45 | } |
| 46 | |
| 47 | bool isSafe(vector<vector<char>>& board, int row, int col , char num) |
| 48 | { |
| 49 | return !isRowSafe(board,row,num) && !isColumnSafe(board, col, num) && !isBoxSafe(board, row-row%3,col-col%3,num) && board[row][col] == '.'; |
| 50 | } |
| 51 | |
| 52 | |
| 53 | bool findUnassignedLocation(vector<vector<char>>& board, int &row, int &col) |
nothing calls this directly
no outgoing calls
no test coverage detected