Flying memes

Archive for January, 2025

Creating Sudokus with Python

Thursday, January 9th, 2025

Following from my previous post I’ve explored with an algorithm to create Sudokus by iterating from an empty grid by adding valid numbers to random cells and then invoking the solving function twice, once navigating the solution space from 1 to 9 and the other in reverse. If both solving functions return the same, valid, grid then that’s the solution.

(more…)