Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
110 tokens/sec
GPT-4o
56 tokens/sec
Gemini 2.5 Pro Pro
44 tokens/sec
o3 Pro
6 tokens/sec
GPT-4.1 Pro
47 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Even $1 \times n$ Edge-Matching and Jigsaw Puzzles are Really Hard (1701.00146v1)

Published 31 Dec 2016 in cs.CC and cs.CG

Abstract: We prove the computational intractability of rotating and placing $n$ square tiles into a $1 \times n$ array such that adjacent tiles are compatible--either equal edge colors, as in edge-matching puzzles, or matching tab/pocket shapes, as in jigsaw puzzles. Beyond basic NP-hardness, we prove that it is NP-hard even to approximately maximize the number of placed tiles (allowing blanks), while satisfying the compatibility constraint between nonblank tiles, within a factor of 0.9999999851. (On the other hand, there is an easy $1 \over 2$-approximation.) This is the first (correct) proof of inapproximability for edge-matching and jigsaw puzzles. Along the way, we prove NP-hardness of distinguishing, for a directed graph on $n$ nodes, between having a Hamiltonian path (length $n-1$) and having at most $0.999999284 (n-1)$ edges that form a vertex-disjoint union of paths. We use this gap hardness and gap-preserving reductions to establish similar gap hardness for $1 \times n$ jigsaw and edge-matching puzzles.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (6)
  1. Jeffrey Bosboom (12 papers)
  2. Erik D. Demaine (179 papers)
  3. Martin L. Demaine (54 papers)
  4. Adam Hesterberg (24 papers)
  5. Pasin Manurangsi (127 papers)
  6. Anak Yodpinyanee (8 papers)
Citations (7)

Summary

We haven't generated a summary for this paper yet.