Journal of Information Processing
Online ISSN : 1882-6652
ISSN-L : 1882-6652
Zig-Zag Numberlink is NP-Complete
Aaron AdcockErik D. DemaineMartin L. DemaineMichael P. O'BrienFelix ReidlFernando Sánchez VillaamilBlair D. Sullivan
Author information

2015 Volume 23 Issue 3 Pages 239-245


When can t terminal pairs in an m × n grid be connected by t vertex-disjoint paths that cover all vertices of the grid? We prove that this problem is NP-complete. Our hardness result can be compared to two previous NP-hardness proofs: Lynch's 1975 proof without the “cover all vertices” constraint, and Kotsuma and Takenaga's 2010 proof when the paths are restricted to have the fewest possible corners within their homotopy class. The latter restriction is a common form of the famous Nikoli puzzle Numberlink. Our problem is another common form of Numberlink, sometimes called Zig-Zag Numberlink and popularized by the smartphone app Flow Free.

Information related to the author
© 2015 by the Information Processing Society of Japan
Previous article Next article