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
DOI:
https://doi.org/10.11591/edulearn.v19i1.21214
Refbacks
There are currently no refbacks.
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) .
<div class="statcounter"><a title="web analytics" href="http://statcounter.com/" target="_blank"><img class="statcounter" src="//c.statcounter.com/10243437/0/02b261b1/0/" alt="web analytics"></a></div> View EduLearn Stats