Skip to content

Latest commit

 

History

History

sudoku-kata

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Sudoku

Sudoku kata

In this kata, we are going to write a Sodoku solver. The rules for Sudoku are:

  • Every square has to contain a single number.
  • Only the numbers from 1 through to 9 can be used.
  • Each 3×3 box can only contain a number from 1 to 9 once and only once.
  • Each vertical column can only contain each number from 1 to 9 once.

Possible approaches

Practicing this kata pays off the most when it is done multiple times in multiple different ways. Many people have already written about such approaches:

In the Java and Python versions (i.e. based on the OO paradigm), there is an option to exercise with the data clumping refactoring that is applicable to the pervasive grouping of the row and column parameters.