POV-Ray : Newsgroups : povray.off-topic : Sudoku : Re: Sudoku Server Time
6 Sep 2024 09:18:58 EDT (-0400)
  Re: Sudoku  
From: Invisible
Date: 23 Jan 2009 10:41:00
Message: <4979e50c$1@news.povray.org>
Warp wrote:

>> Apparently it's actually a graph colouring problem. Or, equivilently, an 
>> exact cover problem. And it's provably NP-complete.
> 
>   Solving a sudoku is O(1) because the size is fixed to a 9x9 grid.

I presume they were talking about the generalised problem of an n^2 x 
n^2 grid...

Even if we assume 9x9, it's interesting to note that in paper the 
process is O(1), and yet the amount of time it actually takes me to 
solve one appears to be unbounded. I guess this indicates I'm using a 
really, *really* inefficient solving algorithm? :-}

(Alternatively, I guess you could take N to mean not the size of the 
grid but the number of unknowns...)


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.