Skip to content

Instantly share code, notes, and snippets.

View CalfordMath's full-sized avatar

Timothy Calford CalfordMath

View GitHub Profile
@CalfordMath
CalfordMath / sudoku
Last active April 24, 2024 19:39 — forked from lhem/sudoku
//ref: https://codereview.stackexchange.com/q/199771
//CalfordMath edit notes:
//I placed the "test" lambda inside of "solver" to acheive a single Lambda function (nested recursive).
//I'm not sure this optimizes anything computationally, and perhaps it makes the code less easy to follow,
//but I find it satisfying to have everything wrapped in a single function :)
solver = LAMBDA(grid,
LET(