Skip to content

advistasyam/DAA-backtracking-sudoku9x9

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Analisis Algoritma Backtracking Sebagai Solusi Sudoku 9x9

Kelompok:

  • Advis Tasyah Mulia (1906350673)
  • Najmi Aliya (1906398622)

Bentuk Data : Array 2 Dimensi
Dimensi Pertama : Baris
Dimensi Kedua : Kolom

Contoh Input :
[
  [0, 0, 0, 4, 0, 6, 0, 0, 0],
  [0, 0, 9, 3, 0, 0, 2, 0, 6],
  [0, 8, 0, 2, 7, 0, 0, 3, 0],
  [0, 2, 4, 0, 3, 7, 6, 0, 8],
  [9, 6, 0, 0, 0, 1, 0, 0, 7],
  [8, 0, 0, 0, 0, 2, 4, 1, 0],
  [0, 9, 0, 7, 2, 0, 0, 6, 1],
  [6, 0, 0, 1, 0, 5, 0, 0, 3],
  [7, 0, 0, 0, 6, 0, 8, 0, 0],
]
Contoh Output :
[
  [2, 1, 3, 4, 5,6, 7, 8, 9],
  [4, 7, 9, 3, 1,8, 2, 5, 6],
  [5, 8, 6, 2, 7,9, 1, 3, 4],
  [1, 2, 4, 5, 3,7, 6, 9, 8],
  [9, 6, 5, 8, 4,1, 3, 2, 7],
  [8, 3, 7, 6, 9,2, 4, 1, 5],
  [3, 9, 8, 7, 2,4, 5, 6, 1],
  [6, 4, 2, 1, 8,5, 9, 7, 3],
  [7, 5, 1, 9, 6,3, 8, 4, 2]
]

Revisi : 0.1

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published