Top "Sudoku" questions

Sudoku (soo-doh-koo) is a number-placement logic puzzle.

Algorithm for solving Sudoku

I want to write a code in python to solve a sudoku puzzle. Do you guys have any idea about …

python algorithm sudoku
How to generate Sudoku boards with unique solutions

How do you generate a Sudoku board with a unique solution? What I thought was to initialize a random board …

algorithm puzzle sudoku
A cool algorithm to check a Sudoku field?

Does anyone know a simple algorithm to check if a Sudoku-Configuration is valid? The simplest algorithm I came up with …

algorithm sudoku
Java Sudoku Generator(easiest solution)

In my last question seen here: Sudoku - Region testing I asked how to check the 3x3 regions and someone …

java generator sudoku solver
Check if Sudoku solution is valid

You're given a solution to a Sudoku puzzle. Write the code to check if it's a valid solution. Your function …

sudoku
How to remove convexity defects in a Sudoku square?

I was doing a fun project: Solving a Sudoku from an input image using OpenCV (as in Google goggles etc). …

python opencv computer-vision sudoku
Optimizing the backtracking algorithm solving Sudoku

I'm hoping to optimize my backtracking algorithm for my Sudoku Solver. What it does now: The recursive solver function takes …

algorithm sudoku
Sudoku generator algorithm

I made an algorithm to generate sudokus, but it was terribly inefficient. Each puzzle took minutes to generate. So now …

c# sudoku
Sudoku Checker in Python

I am trying to create a sudoku checker in python: ill_formed = [[5,3,4,6,7,8,9,1,2], [6,7,2,1,9,5,3,4,8], [1,9,8,3,4,2,5,6,7], [8,5,9,7,6,1,4,2,3], [4,2,6,8,5,3,7,9], # <--- [7,1,3,9,2,4,8,5,6], [9,6,1,5,3,7,2,8,4], [2,8,7,4,1,9,6,3,5], [3,4,5,2,8,6,1,7,9]] easy = [[2,9,0,0,0,0,0,7,0], [3,0,6,0,0,8,4,0,0], [8,0,0,0,4,0,0,0,2], [0,2,0,0,3,1,0,0,7], [0,0,0,0,8,0,0,0,0], [1,0,0,9,5,0,0,6,0], [7,0,0,0,9,0,0,0,1], [0,0,1,2,0,0,3,0,6], [0,3,0,0,0,0,0,5,9]] I am expecting input like …

python sudoku
Unique methods to generate sudoku puzzle

How many possible unique ways are there to generate a Sudoku Puzzle?? I can think of only two possible ways 1) …

algorithm puzzle sudoku