A Study Of Sudoku Solving Algorithms: Backtracking and Heuristic
Logic in Computer Science
2025-07-15 v1
Abstract
This paper presents a comparative analysis of Sudoku-solving strategies, focusing on recursive backtracking and a heuristic-based constraint propagation method. Using a dataset of 500 puzzles across five difficulty levels (Beginner to Expert), we evaluated performance based on average solving time. The heuristic approach consistently outperformed backtracking, achieving speedup ratios ranging from 1.27x in Beginner puzzles to 2.91x in Expert puzzles. These findings underscore the effectiveness of heuristic strategies, particularly in tackling complex puzzles across varying difficulty levels.
Keywords
Cite
@article{arxiv.2507.09708,
title = {A Study Of Sudoku Solving Algorithms: Backtracking and Heuristic},
author = {Apekshya Bhattarai and Dinisha Uprety and Pooja Pathak and Safal Narshing Shrestha and Salina Narkarmi and Sanjog Sigdel},
journal= {arXiv preprint arXiv:2507.09708},
year = {2025}
}
Comments
14 pages