Note on Algorithmic Investigations of Juosan Puzzles

Dublin Core

Title

Note on Algorithmic Investigations of Juosan Puzzles

Subject

backtracking, Juosan puzzle, puzzle solver, tractable sub-problems

Description

We investigate several algorithmic and mathematical aspects of the Juosan puzzle—a one-player pencil-andpaper puzzle introduced in 2014 and proven NP-complete in 2018. We introduce an optimized backtracking technique for solving this puzzle by considering some invalid subgrid configurations and show that this algorithm can solve an arbitrary Juosan instance of size m × n in O(2mn) time. A C++ implementation of this algorithm successfully found the solution to all Juosan instances with no more than 300 cells in less
than 15 seconds. We also discuss the special cases of Juosan puzzles of size m × n where either m or n is less than 3. We show that these types of puzzles are solvable in linear time in terms of the puzzle size and establish the upper bound for the number of solutions to the Juosan puzzle of size 1 × n. Finally, we prove the tractability of arbitrary m × n Juosan puzzles whose all territories do not have constraint numbers.

Creator

Muhammad Tsaqif Ammar, Muhammad Arzaki, Gia Septiana Wulandari

Source

: http://dx.doi.org/10.21609/jiki.v17i1.1184

Publisher

Faculty of Computer Science Universitas Indonesia

Date

 2024-02-25

Contributor

Sri Wahyuni

Rights

e-ISSN : 2502-9274 printed ISSN : 2088-7051

Format

PDF

Language

English

Type

Text

Coverage

Jurnal Ilmu Komputer dan Informasi (Journal of Computer Science and Information)

Files

Tags

,Repository, Repository Horizon University Indonesia, Repository Universitas Horizon Indonesia, Horizon.ac.id, Horizon University Indonesia, Universitas Horizon Indonesia, HorizonU, Repo Horizon , ,Repository, Repository Horizon University Indonesia, Repository Universitas Horizon Indonesia, Horizon.ac.id, Horizon University Indonesia, Universitas Horizon Indonesia, HorizonU, Repo Horizon , ,Repository, Repository Horizon University Indonesia, Repository Universitas Horizon Indonesia, Horizon.ac.id, Horizon University Indonesia, Universitas Horizon Indonesia, HorizonU, Repo Horizon ,

Citation

Muhammad Tsaqif Ammar, Muhammad Arzaki, Gia Septiana Wulandari, “Note on Algorithmic Investigations of Juosan Puzzles,” Repository Horizon University Indonesia, accessed May 22, 2025, https://repository.horizon.ac.id/items/show/8864.