English
Related papers

Related papers: Unshuffling a Square is NP-Hard

200 papers

A square is a word of the form $xx$ for a non-empty word $x$. Brlek and Li [Comb. Theory, 2025] proved that the number of distinct squares in a word $w$ of length $n$ is at most $n - \sigma$, where $\sigma$ is the number of letters used in…

Discrete Mathematics · Computer Science 2026-03-03 Eitatsu Tomita , Tomohiro I

A procedure that generates parallelograms from any quadrilateral is presented. If the original quadrilateral is itself a parallelogram, then the procedure gives squares. Hence, when applied two times, this procedure generates squares from…

General Mathematics · Mathematics 2012-03-20 Pierre Godard

Covers being one of the most popular form of regularities in strings, have drawn much attention over time. In this paper, we focus on the problem of linear time inference of strings from cover arrays using the least sized alphabet possible.…

Data Structures and Algorithms · Computer Science 2011-08-30 Tanaeem M. Moosa , Sumaiya Nazeen , M. Sohel Rahman , Rezwana Reaz

We consider a card guessing game with complete feedback. An ordered deck of $n$ cards labeled $1$ up to $n$ is riffle-shuffled exactly one time. Given a value $p\in(0{,}1)\setminus\{\frac12\}$, the riffle shuffle is assumed to be…

Combinatorics · Mathematics 2026-02-13 Markus Kuba

Deciding whether a given graph has a square root is a classical problem that has been studied extensively both from graph theoretic and from algorithmic perspectives. The problem is NP-complete in general, and consequently substantial…

Data Structures and Algorithms · Computer Science 2018-10-09 Petr A. Golovach , Pinar Heggernes , Dieter Kratsch , Paloma T. Lima , Daniel Paulusma

When eating spaghetti, one should have the sauce and noodles mixed instead of eating them separately. We argue that also in string solving, word equations and regular constraints are better mixed together than approached separately as in…

Logic in Computer Science · Computer Science 2022-12-06 František Blahoudek , Yu-Fang Chen , David Chocholatý , Vojtěch Havlena , Lukáš Holík , Ondřej Lengál , Juraj Síč

We find all the classical solutions (minimal surfaces) of open or closed strings in {\it any} two dimensional curved spacetime. As examples we consider the SL(2,R)/R two dimensional black hole, and any 4D black hole in the Schwarzschild…

High Energy Physics - Theory · Physics 2009-10-28 Itzhak Bars , Jürgen Schulze

The essential requirement for a cubic graph to be called a snark is that it can not be edge-coloured with three colours. To avoid trivial cases, varying restrictions on the connectivity are imposed. Snarks are not only interesting in…

Combinatorics · Mathematics 2026-03-19 Gunnar Brinkmann , Steven Van Overberghe

Tetravex is a widely played one person computer game in which you are given $n^2$ unit tiles, each edge of which is labelled with a number. The objective is to place each tile within a $n$ by $n$ square such that all neighbouring edges are…

Computational Complexity · Computer Science 2012-04-18 Yasuhiko Takenaga , Toby Walsh

In string-bit models, string is described as a polymer of point-like constituents. We attempt to use string-bit ideas to investigate how the size of string is affected by string interactions in a non-perturbative context. Lacking adequate…

High Energy Physics - Theory · Physics 2009-10-30 O. Bergman , C. B. Thorn

In the present popular science paper we determine when a square can be dissected into rectangles similar to a given rectangle. The approach to the question is based on a physical interpretation using electrical networks. Only secondary…

History and Overview · Mathematics 2018-08-14 Sergey Dorichenko , Mikhail Skopenkov

String matching is one of the most fundamental problems in computer science. A natural problem is to determine the number of characters that need to be queried (i.e. the decision tree complexity) in a string in order to decide whether this…

Computational Complexity · Computer Science 2018-06-29 Xiaoyu He , Neng Huang , Xiaoming Sun

This study develops an algorithm to solve a variation of the Shortest Common Superstring (SCS) problem. There are two modifications to the base SCS problem. First, one string in the set S is allowed to have up to K mistakes, defined as not…

Data Structures and Algorithms · Computer Science 2024-11-05 Arthur Gilfanov

This work explores the relationship between solution space and time complexity in the context of the $\textbf{P}$ vs. $\textbf{NP}$ problem, particularly through the lens of the sliding tile puzzle and root finding algorithms. We focus on…

General Mathematics · Mathematics 2025-01-22 Roy Burson

We perform imaging of a fundamental string from string scattering amplitudes, and show that its image is a double slit.

High Energy Physics - Theory · Physics 2022-08-18 Koji Hashimoto , Yoshinori Matsuo , Takuya Yoda

The 15 puzzle is a classic reconfiguration puzzle with fifteen uniquely labeled unit squares within a $4 \times 4$ board in which the goal is to slide the squares (without ever overlapping) into a target configuration. By generalizing the…

Computational Complexity · Computer Science 2018-04-30 Erik D. Demaine , Mikhail Rudoy

The square of a graph $G$, denoted $G^2$, is obtained from $G$ by putting an edge between two distinct vertices whenever their distance is two. Then $G$ is called a square root of $G^2$. Deciding whether a given graph has a square root is…

Discrete Mathematics · Computer Science 2014-02-04 Van Bang Le , Andrea Oversberg , Oliver Schaudt

In the plane, three integer points ("fleas") are given. At every tick of time, two of them (say, P,Q) instantly jump to two vacant points R,S, so that PQRS is a square with that order of vertices. Description of all integers and…

Number Theory · Mathematics 2025-08-08 Giedrius Alkauskas

Motivated by Chudnovsky's structure theorem of bull-free graphs, Abu-Khzam, Feghali, and M\"uller have recently proved that deciding if a graph has a vertex partition into disjoint cliques and a triangle-free graph is NP-complete for five…

Discrete Mathematics · Computer Science 2015-12-08 Marin Bougeret , Pascal Ochem

The study of strings is an important combinatorial field that precedes the digital computer. Strings can be very long, trillions of letters, so it is important to find compact representations. Here we first survey various forms of one…

Data Structures and Algorithms · Computer Science 2026-04-08 Neerja Mhaskar , W. F. Smyth