Sudoku solutions: a comparative analysis of breadth-first search, depth-first search, and human approaches

Norizan Mat Diah, Syahirul Riza, Suzana Ahmad, Norzilah Musa, Shakirah Hashim

Abstract


Sudoku is a puzzle that has a unique solution. No matter how many methods are used, the result will always be the same. The player thought that the number of givens or clues, the initial value on the Sudoku puzzles, would significantly determine the difficulty level, which is not necessarily correct. This research uses two search algorithms, breadth-first search (BFS) and depth-first search (DFS), to solve a set of Sudoku puzzles based on the number of givens. The Sudoku puzzles are chosen based on the number of givens between 32 and 35. In cases where Sudoku puzzles are considered medium or intermediate difficulty, the solutions generated by both algorithms will be compared with the human-solving approach. The research aims to determine whether humans tend to solve Sudoku puzzles with solutions resembling those generated by BFS or DFS. Furthermore, if all three approaches-human, BFS, DFS-yield comparable solutions, the Sudoku puzzle has only one unique solution.

Keywords


Breadth-first search; Depth-first search; Human; Puzzles; Sudoku

Full Text:

PDF


DOI: https://doi.org/10.11591/edulearn.v19i1.21214

Refbacks

  • There are currently no refbacks.


Copyright (c) 2024 Intelektual Pustaka Media Utama

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Journal of Education and Learning (EduLearn)
ISSN: 2089-9823, e-ISSN 2302-9277
Published by Intelektual Pustaka Media Utama (IPMU) in collaboration with the Institute of Advanced Engineering and Science (IAES).

View EduLearn Stats