String Rearrangement Inequalities and a Total Order Between Primitive Words

0Citations
Citations of this article
1Readers
Mendeley users who have this article in their library.
Get full text

Abstract

We study the following rearrangement problem: Given n words, rearrange and concatenate them so that the obtained string is lexicographically smallest (or largest, respectively). We show that this problem reduces to sorting the given words so that their repeating strings are non-decreasing (or non-increasing, respectively), where the repeating string of a word A refers to the infinite string AAA…. Moreover, for fixed size alphabet Σ, we design an O(L) time sorting algorithm of the words (in the mentioned orders), where L denotes the total length of the input words. Hence we obtain an O(L) time algorithm for the rearrangement problem. Finally, we point out that comparing primitive words via comparing their repeating strings leads to a total order, which can further be extended to a total order on the finite words (or all words).

Cite

CITATION STYLE

APA

Luo, R., Zhu, T., & Jin, K. (2022). String Rearrangement Inequalities and a Total Order Between Primitive Words. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 13461 LNCS, pp. 206–218). Springer Science and Business Media Deutschland GmbH. https://doi.org/10.1007/978-3-031-20796-9_15

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free