
arXiv: 1211.7161
A shuffle of two strings is formed by interleaving the characters into a new string, keeping the characters of each string in order. A string is a square if it is a shuffle of two identical strings. There is a known polynomial time dynamic programming algorithm to determine if a given string z is the shuffle of two given strings x,y; however, it has been an open question whether there is a polynomial time algorithm to determine if a given string z is a square. We resolve this by proving that this problem is NP-complete via a many-one reduction from 3- Partition.
FOS: Computer and information sciences, Computer Science - Computational Complexity, Combinatorics on words, Computational difficulty of problems (lower bounds, completeness, difficulty of approximation, etc.), Computational Complexity (cs.CC), square shuffle, NP-completeness
FOS: Computer and information sciences, Computer Science - Computational Complexity, Combinatorics on words, Computational difficulty of problems (lower bounds, completeness, difficulty of approximation, etc.), Computational Complexity (cs.CC), square shuffle, NP-completeness
| selected citations These citations are derived from selected sources. This is an alternative to the "Influence" indicator, which also reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically). | 23 | |
| popularity This indicator reflects the "current" impact/attention (the "hype") of an article in the research community at large, based on the underlying citation network. | Top 10% | |
| influence This indicator reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically). | Top 10% | |
| impulse This indicator reflects the initial momentum of an article directly after its publication, based on the underlying citation network. | Top 10% |
