Pancake Flipping is Hard

Abstract : Pancake Flipping is the problem of sorting a stack of pancakes of different sizes (that is, a permutation), when the only allowed operation is to insert a spatula anywhere in the stack and to flip the pancakes above it (that is, to perform a prefix reversal). In the burnt variant, one side of each pancake is marked as burnt, and it is required to finish with all pancakes having the burnt side down. Computing the optimal scenario for any stack of pancakes and determining the worst-case stack for any stack size have been challenges over more than three decades. Beyond being an intriguing combinatorial problem in itself, it also yields applications, e.g. in parallel computing and computational biology. In this paper, we show that the Pancake Flipping problem, in its original (unburnt) variant, is NP-hard, thus answering the long-standing question of its computational complexity.
Liste complète des métadonnées

Cited literature [12 references]  Display  Hide  Download
Contributor : Guillaume Fertin <>
Submitted on : Friday, July 13, 2012 - 2:25:18 PM
Last modification on : Thursday, April 5, 2018 - 10:36:49 AM
Document(s) archivé(s) le : Sunday, October 14, 2012 - 2:55:08 AM


Files produced by the author(s)


  • HAL Id : hal-00717712, version 1



Laurent Bulteau, Guillaume Fertin, Irena Rusu. Pancake Flipping is Hard. 37th International Symposium on Mathematical Foundations of Computer Science (MFCS 2012), Aug 2012, Bratislava, Slovakia. pp.247-258. ⟨hal-00717712⟩



Record views


Files downloads