I am making a Sudoku generator and so far, everything works fine, the numbers are all in sequence. My problem is that I don't know how to figure out which numbers can be removed from those sequences, while there are still solutions available. Any ideas?
I am posting the code externally, because it is over 400 lines.