Skip to content

First test for Sudoku seems to be incorrect #25

Description

@breyana

After splitting the string "..9.7...5..21..9..1...28....7...5..1..851.....5....3.......3..68........21.....87" into 9 arrays, we get this board. There are no duplicate values in neither the columns nor rows.

  [ '.', '.', '9', '.', '7', '.', '.', '.', '5' ],
  [ '.', '.', '2', '1', '.', '.', '9', '.', '.' ],
  [ '1', '.', '.', '.', '2', '8', '.', '.', '.' ],
  [ '.', '7', '.', '.', '.', '5', '.', '.', '1' ],
  [ '.', '.', '8', '5', '1', '.', '.', '.', '.' ],
  [ '.', '5', '.', '.', '.', '.', '3', '.', '.' ],
  [ '.', '.', '.', '.', '.', '3', '.', '.', '6' ],
  [ '8', '.', '.', '.', '.', '.', '.', '.', '.' ],
  [ '2', '1', '.', '.', '.', '.', '.', '8', '7' ] 

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions