logoalt Hacker News

lordnachoyesterday at 9:51 PM1 replyview on HN

One example is Sudoku. It's NP-hard, but in practice, it takes no time at all to solve your newspaper puzzle.


Replies

singpolyma3yesterday at 10:48 PM

NP-hard just speaks about the algorithm complexity. The input size of a typical sudoku puzzles so small that even the most naive algorithm can do it quickly.

show 1 reply