References & Citations
Computer Science > Data Structures and Algorithms
Title: Bubble-Flip---A New Generation Algorithm for Prefix Normal Words
(Submitted on 15 Dec 2017 (v1), revised 12 Jan 2018 (this version, v2), latest version 26 Jul 2018 (v3))
Abstract: We present a new recursive generation algorithm for prefix normal words. These are binary strings with the property that no substring has more 1s than the prefix of the same length. The new algorithm uses two operations on binary strings, which exploit certain properties of prefix normal words in a smart way. We introduce infinite prefix normal words and show that one of the operations used by the algorithm, if applied repeatedly to extend the string, produces an ultimately periodic infinite word, which is prefix normal and whose period's length and density we can predict from the original word.
Submission history
From: Zsuzsanna Lipták [view email][v1] Fri, 15 Dec 2017 23:39:45 GMT (659kb,D)
[v2] Fri, 12 Jan 2018 21:08:06 GMT (659kb,D)
[v3] Thu, 26 Jul 2018 18:19:39 GMT (273kb,D)
Link back to: arXiv, form interface, contact.