Deprecated: $wgMWOAuthSharedUserIDs=false is deprecated, set $wgMWOAuthSharedUserIDs=true, $wgMWOAuthSharedUserSource='local' instead [Called from MediaWiki\HookContainer\HookContainer::run in /var/www/html/w/includes/HookContainer/HookContainer.php at line 135] in /var/www/html/w/includes/Debug/MWDebug.php on line 372
Permutation reconstruction from differences - MaRDI portal

Permutation reconstruction from differences (Q463039)

From MaRDI portal
scientific article
Language Label Description Also known as
English
Permutation reconstruction from differences
scientific article

    Statements

    Permutation reconstruction from differences (English)
    0 references
    0 references
    23 October 2014
    0 references
    Summary: We prove that the problem of reconstructing a permutation \(\pi_1,\ldots,\pi_n\) of the integers \([1\ldots n]\) given the absolute differences \(|\pi_{i+1}-\pi_i|\), \(i = 1,\ldots,n-1\) is \mathsf{NP}-complete. As an intermediate step we first prove the \mathsf{NP}-completeness of the decision version of a new puzzle game that we call \textit{Crazy Frog Puzzle}. The permutation reconstruction from differences is one of the simplest combinatorial problems that have been proved to be computationally intractable.
    0 references
    permutation reconstruction
    0 references
    NP-completeness
    0 references

    Identifiers