English

One-variable word equations in linear time

Formal Languages and Automata Theory 2014-01-23 v2 Data Structures and Algorithms Logic in Computer Science

Abstract

In this paper we consider word equations with one variable (and arbitrary many appearances of it). A recent technique of recompression, which is applicable to general word equations, is shown to be suitable also in this case. While in general case it is non-deterministic, it determinises in case of one variable and the obtained running time is O(n + #_X log n), where #_X is the number of appearances of the variable in the equation. This matches the previously-best algorithm due to D\k{a}browski and Plandowski. Then, using a couple of heuristics as well as more detailed time analysis the running time is lowered to O(n) in RAM model. Unfortunately no new properties of solutions are shown.

Keywords

Cite

@article{arxiv.1302.3481,
  title  = {One-variable word equations in linear time},
  author = {Artur Jeż},
  journal= {arXiv preprint arXiv:1302.3481},
  year   = {2014}
}

Comments

submitted to a journal, general overhaul over the previous version

R2 v1 2026-06-21T23:26:20.018Z