A recursive backtracking sudoku solver written in C.
- Bitwise - This algorithm uses bitwise operations and is much faster and smaller than the inefficient version.
- Inefficient - This algorithm is loop heavy, and really slow compared to the bitwise version.
- This algo generates every possible Sudoku solution (there are 6.671*10^21) when you call the solve(Sudoku p) method on a 9x9 array of zeroes. Obviously, your computer won't be able to complete this operation since it could take decades.
- Calling the solve function 100 million times takes 56 seconds in the inefficient version and 12 seconds in the inefficient version.