Yin-Yang Puzzles are NP-complete
Abstract
We prove NP-completeness of Yin-Yang / Shiromaru-Kuromaru pencil-and-paper puzzles. Viewed as a graph partitioning problem, we prove NP-completeness of partitioning a rectangular grid graph into two induced trees (normal Yin-Yang), or into two induced connected subgraphs (Yin-Yang without $2 \times 2$ rule), subject to some vertices being pre-assigned to a specific tree/subgraph.
- Publication:
-
arXiv e-prints
- Pub Date:
- June 2021
- DOI:
- 10.48550/arXiv.2106.15585
- arXiv:
- arXiv:2106.15585
- Bibcode:
- 2021arXiv210615585D
- Keywords:
-
- Computer Science - Computational Complexity;
- Computer Science - Computational Geometry
- E-Print:
- 10 pages, 11 figures. Proceedings of CCCG 2021