Skip to content

code-check/challenge-sudoku-easy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

challenge-sudoku-easy

The goal of this challenge is to implement algorithm to solve given sudoku puzzles in testfile.

Challenge Description

  • A sudoku is type of puzzle made out of 9x9 (81) numbers/cells which is considered to be further divided into 9 sub-grids of 3x3 matrix.

  • A valid sudoku contains the numbers 1-9 each 9 times while not breaking one simple rule: "A sub-grid, column or row can only contain each number once".

    i.e Sudoku puzzle can be viewed as matrix is 9x9.

    • Rows are counted from top to bottom.
    • Rows are horizontal, counted vertically, defined by y.
    • Columns are counted from left to right.
    • Columns are vertical, counted horizontally, defined by x

Sudoku Puzzle

Test Results before solving the challenge

Initially all the tests will fail with following output

Fill the before result

Test Results after solving the challenge

Solve the challenge to pass the tests

Fill the after result

Run Tests

To run tests locally install codecheck in local environment by running following command in terminal.

$ npm install codecheck -g

To run tests locally, run codecheck command in terminal in the root folder To run tests in web editor please click on RUN button on left side of web editor

Explain your code

In answer.md write a brief explanation

  • About how your code works
  • Problems faced while solving the challenge
  • How you solved those problems

Releases

No releases published

Packages

No packages published