The so-called Pancake flipping problem first discussed by Jacob E. Goodman here yields two entangled problems:
- MIN-SBPR (Sorting By Prefix Reversals) - Given a permutation, find the smallest sequence of flips sorting the permutation.
- Compute $f(n)$ - For a given $n \in \mathbb{N}$, what is the maximum number of flips required to sort any permutation of size $n$?
This paper shows that the first problem is NP-hard.
Now, my question is: Is it known whether the second problem is NP-hard as well? Is there any paper on the NP-hardness of the second problem?
For me, it seems like the second problem is kind of stronger than the first one. Does the NP-hardness of that one follow from the first one in some way? You cannot just check each permutation using the first one since there are $n!$ many permutations.
hard
tag and the small number of entries suggest that it's plausible that the problem is NP-hard. $\endgroup$