knadh / dns.toys

A DNS server that offers useful utilities and services over the DNS protocol. Weather, world time, unit conversion etc.
https://www.dns.toys
MIT License
2.48k stars 135 forks source link

Add a sudoku solver service #73

Closed legosandorigami closed 7 months ago

legosandorigami commented 7 months ago

This feature introduces Sudoku-solving capability. A Sudoku puzzle string is represented by cell values in a row-major format, where empty cells are denoted by the value 0. For instance, sudoku

The corresponding puzzle string would be: : 080000005000835410903407820700000600100509002006000003018302907047698000300000040

Running this through the feature yields the output: 481926375672835419953417826725183694134569782896274153518342967247698531369751248

@knadh, do you find this addition useful and worthy of inclusion?