Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 664

Problems known to be open in the literature and any problem that, after being posed, is decided to be open by the community.

62 votes

How hard is unshuffling a string?

For the special case you mention when each character appears at most four times, there is a simple reduction to 2-SAT (unless I'm missing something...), as follows: The crucial point is that for each …
Per Austrin's user avatar
  • 1,399
12 votes

How hard is unshuffling a string?

Here is an algorithm that may have some chance of being correct though it seems tricky to prove and I would not bet the house on it... Let us say that $G$ is purged if for every edge $e$, there exist …
Per Austrin's user avatar
  • 1,399