Singapore prime minister Lee Hsien Loong's Sudoku Solver code runs in 1ms

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • Sudoku

    Brute force soduku solver in C# (by tonyedgecombe)

  • You can solve it via brute force if you cut off branches that don't satisfy the rules:

    https://github.com/tonyedgecombe/Sudoku/blob/master/Sudoku/P...

    It's not 1ms but it's not that slow either.

  • tdoku

    A fast Sudoku solver and generator with a benchmark suite for comparing the fastest known solvers.

  • For a casual effort this solver is quite fast. On most datasets it's significantly faster than a C++ port of the Norvig solver and it's often in the same league as well-tuned DLX solvers (though still not in the major league).

    Relative to DLX it's faster on the easiest puzzles and slower on hard ones, though its performance degrades significantly in two specific still-easy cases: (1) 17-clue puzzles since these punish solvers that don't propagate hidden singles, (2) 0-solution puzzles since the solver doesn't check for consistency during initialization (something the author acknowledges in a comment).

    For context see these benchmarks from a modern laptop (https://github.com/t-dillon/tdoku/blob/master/benchmarks/res...) and compare lhl_sudoku to the other simple solvers tdev_basic_heuristic, zerodoku, fast_solv_9r2, kudoku, and norvig.

    For details on the solvers and datasets used in these benchmarks see here (https://github.com/t-dillon/tdoku/tree/master/other) and here (https://github.com/t-dillon/tdoku/tree/master/benchmarks)

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Existe site para comparar programas de resolver sudokus?

    1 project | /r/brdev | 1 Jan 2023
  • Looking for a collection of sudokus in the "1.62.7.8./...86" format

    2 projects | /r/sudoku | 19 Nov 2021
  • "(Un-)Official Standard" for sudoku's

    2 projects | /r/sudoku | 9 Oct 2021
  • okiidoku alternatives - tdoku, fsss2, sudoku, and SukakuExplainer

    5 projects | 3 Aug 2022
  • C++ Show and Tell - May 2022

    5 projects | /r/cpp | 2 May 2022