Manuscript Offprint
arXiv:2611.12146Longest Unbordered Factors in Linear Time
—— Abstract
A border of a string is a nonempty proper prefix that is also a suffix. A string is unbordered if it has no border. The length of a longest unbordered factor is closely related to the smallest period of the string. While the smallest period can be computed in linear time, the best previously known algorithm for computing a longest unbordered factor takes worst-case time for a string of length . Whether this computational problem can be solved in worst-case linear time has remained open. In this paper, we resolve this open problem for integer alphabets of size by presenting an algorithm that computes all occurrences of longest unbordered factors in worst-case time. Our algorithm uses a combinatorial property of longest unbordered factors and scans the input string in both directions to capture all occurrences achieving the global maximum without computing the local maximum at every starting position.
2012 ACM Subject Classification Theory of computation → Pattern matching; Mathematics of computing → Combinatorial algorithms
Keywords and phrases string algorithms, unbordered factors, periods, squares, longest successor factors
In 1979, Ehrenfeucht and Silberger [6] asked under what conditions holds. They conjectured that implies . Assous and Pouzet [1] disproved this conjecture in the same year. The relation between these two quantities continued to be studied for three decades. Finally, Holub and Nowotka [9, 10] resolved the combinatorial problem by proving that whenever . This bound is asymptotically tight. See [10] and references therein for further historical background.
Although can be computed in linear time, it has remained open whether can also be computed in worst-case linear time. An -time algorithm is straightforward: the border arrays of all suffixes of indicate which factors are unbordered. Loptev et al. [13] proposed an algorithm with average-case running time for uniformly random strings over an alphabet of size . Gawrychowski et al. [7] proposed an algorithm with average-case running time and another with worst-case running time. Cording et al. [3] proposed an algorithm with average-case running time for uniformly random strings over an alphabet of size . Kociumaka et al. [11] proposed a deterministic -time algorithm. Using the prefix-suffix query data structure of Kociumaka et al. [12, Theorem 1.4], which supports constant-time queries after
- This is an AI-assisted paper.
Longest Unbordered Factors in Linear Time
deterministic linear-time preprocessing over polynomially bounded integer alphabets, reduces this bound to . More recently, Sekizaki and Mieno [14] studied the problem on run-length encoded strings.
In this paper, we propose a linear-time algorithm that reports all occurrences of longest unordered factors. Our main result is the following.
► Theorem 1. Given a string of length over an integer alphabet of size , we can compute all occurrences of longest unordered factors of in time.
Our algorithm builds on the right-to-left scan of Kociumaka et al. [11]. Their algorithm computes the LUF array, which stores the length of the Longest Unbordered Factor starting at each position. That is, their algorithm computes the local maximum at each starting position. Our algorithm only needs to find all occurrences achieving the global maximum . Thus, the candidate at each position need not be locally optimal. This weaker requirement allows us to use simple updates that take constant time per position. Our scans use the LSF arrays of [11] and consider an additional candidate ending at a square-free cut, defined in Section 2. The key combinatorial property is stated in Lemma 9 for uniquely occurring longest unordered factors. For factors occurring more than once, we use Duval's periodicity result (Lemma 5). Together, these properties show that two scans, one on and one on its reversal, capture all occurrences attaining the global maximum. The scans are easy to implement.
Section 2 introduces the notation and basic properties of unordered strings. Section 3 presents our algorithm and an example. Section 4 proves its correctness. Section 5 shows the linear-time preprocessing.
2 Preliminaries
2.1 Notation and computation model
For non-negative integers with , we define as the set of consecutive integers from to . Let . We call a set an interval. In what follows, all numerical variables denote integers.
Let be an integer alphabet of size . An element of is called a character. An element of is called a string. The length of a string is denoted by , i.e., for any string . The concatenation of strings is denoted by juxtaposition. If holds for strings , then , and are called a prefix, a factor, and a suffix of , respectively. Each is said to be proper if its length is smaller than . The first character of is the 0-th character. For a string and integers , we denote by the -th character of and by the factor of that starts at and ends at . For convenience, let be the empty string if . Further, let denote . Let denote the set of nonempty prefixes of a string . Similarly, let and denote the sets of nonempty suffixes and factors of a string , respectively. The reversal of a string is and is denoted by . In what follows, we arbitrarily fix a nonempty string of length .
A nonempty interval is called an occurrence of a string in if holds. Then, positions and are called the starting and the ending positions of the
The preprocessing requires suffix sorting and run enumeration, for which existing implementations can be used.
occurrence, respectively. A nonempty proper prefix of is called a border of if is also a suffix of . We say that has a border if is a border of . A nonempty string is unbordered if the string has no border. Note that any string of length one is unbordered. We denote by the length of a longest unbordered factor of . A positive integer is called a period of a string if holds for all . We say that has a period if is a period of . Let denote the smallest period of . It is well known that has a border of length iff has a period . Thus, is unbordered iff .
A cut of is an integer . It denotes the boundary between and . A nonempty string of the form is called a square. A cut of is called the center of an occurrence of a square if holds. A cut of is said to be square-free if no square has center . In other words, is a square-free cut iff for all . For cuts , let be the length of the longest common prefix of and , and let LCS be the length of the longest common suffix of and . Nonempty strings are said to be mutually nonintersecting if , , , and . Equivalently, and are mutually nonintersecting if and only if no string contains intersecting occurrences of and , where intersection includes containment.
This paper assumes that the alphabet size is , so we can sort the characters from the input string and can reduce the alphabet to integers in time by using a radix sort. The model of computation in this paper is a standard word RAM model of word size .
2.2 Basic properties of unbordered strings
In this subsection, we list some known properties of unbordered strings used later. The first claim of the next lemma is stated in [8, Lemma 3.3] without a proof; we give a proof for completeness.
► Lemma 2. Let be a nonempty and unbordered string. If is a nonempty proper suffix of , then is unbordered. If a character differs from , then is unbordered.
Proof. By definition, holds. For the sake of contradiction, we assume that has a border . If , is a suffix of , which is a proper suffix of . Also, is a proper prefix of since . Thus is a border of , a contradiction. If , the length-() prefix of is a proper suffix of . Also, is a proper prefix of since . Thus is a border of , a contradiction.
For the string , there is no length-1 border since . A longer border gives a border of after deleting its final character, a contradiction. Hence, is unbordered.
It is known that any string can be decomposed into unbordered prefixes of the string:
► Lemma 3 (Unbordered-decomposition [5]). For any nonempty string , there exists a unique sequence of unbordered prefixes of such that . Furthermore, is the longest unbordered prefix of , and is an unbordered prefix of for all with .
We call each in Lemma 3 a phrase of the unbordered-decomposition of string .
The following lemma follows from the proof of Lemma 3.6 of Harju and Nowotka [8]. We give a direct proof for completeness.
► Lemma 4. Let be mutually nonintersecting nonempty strings. If is nonempty and unbordered, then is unbordered or has period .
Longest Unbordered Factors in Linear Time
Proof. Let , , , and . Suppose has a border of length . If , the length- prefix of occurs as a suffix of , which implies that is a suffix of or is a suffix of . This contradicts that and are mutually nonintersecting. If , then the occurrence of starting at overlaps the rightmost , a contradiction. Thus . The border of length gives a period . It is also a period of that is a factor of . Since is unbordered, holds.
The following lemma was shown by Duval [5].
► Lemma 5 (Corollary 2.13 of [5]). If a longest unbordered factor of occurs at least twice in , then it holds that .
3 The algorithm
In our algorithm, we use three arrays: the longest successor factor array , LSF-Reference array , and square-free cut array . The first two arrays are defined in [11]. For , define . When , let be the largest with . We call the rightmost reference of . Note that the LSF-Reference array is used only when . Furthermore, for each cut , we set if is a square-free cut of , and otherwise. In particular, . All arrays and lengths of common extensions refer to the current string, either or .
Our main procedure is shown in Algorithm 1. By running the subroutine , we obtain the candidate array that stores the lengths of unbordered factors of starting at every position. A symmetric procedure gives another candidate array for the reversal of . Then, the longest candidates within and are actually the longest unbordered factors of . The correctness will be proven later.
Algorithm 1 Main procedure.
Input: String .
Output: All occurrences of longest unbordered factors of .
1:
2:
3:
4: all distinct intervals in of length represented by or
5: return
In the subroutine shown in Algorithm 2, we first compute arrays , , and as preprocessing (Line 1). At position , we compute the length of one unbordered factor that starts at . We do not require this factor to be longest among those starting at . We process positions from right to left. If , the first character of occurs only once in this suffix. Thus, the suffix is unbordered, and we set (Line 5). Otherwise, let . Since , the candidate length has already been computed. If , the unbordered string also occurs at , and we copy its length (Line 9). Otherwise, we extend the candidate to start at the current position . Its new length is (Line 11). As shown in Lemma 7, a border of this longer string would also border the candidate at . Furthermore, we add one more candidate when is a square-free cut of (Lines 13–15). Its interval is and its length is . Again,
Algorithm 2 Function SCAN(T): preprocessing and right-to-left scan over T.
Input: String T of length n.
Output: Integer array C described in the main text.
1: Compute arrays LSF, LSF, and sf for T. ▷ Preprocessing (cf. Section 5).
2: Create an integer array C of length n.
3: for do
4: if LSF then
5: C[i] ← n - i
6: else
7: r ← LSF
8: if C[r] ≤ LSF then
9: C[i] ← C[r] ▷ Copy the candidate.
10: else
11: C[i] ← C[r] + (r - i) ▷ Extend the candidate.
12: end if
13: if sf[r] = 1 then
14: C[i] ← max{C[i], r - i} ▷ Consider the cut candidate.
15: end if
16: end if
17: end for
18: return C
as shown in Lemma 7, if this candidate has a border, it creates a square centered at , which leads to a contradiction. We keep the longer one of the available candidates.
In Section 4, we show that every stored candidate is unordered and that every occurrence of a longest unordered factor is obtained by at least one of the two scans for and .
Excluding preprocessing at Line 1 of Algorithm 2, the algorithm clearly takes time. This time bound includes mapping occurrences in back to and removing duplicates at Line 4 of Algorithm 1. Section 5 shows that the preprocessing also takes time, so the total running time is .
Example
Consider of length 8. The arrays for are shown below. A dash means that the reference is unused.
| 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | |
|---|---|---|---|---|---|---|---|---|---|
| a | b | a | a | b | b | a | a | ||
| LSF | 2 | 3 | 2 | 1 | 1 | 0 | 1 | 0 | |
| LSF | 3 | 5 | 6 | 7 | 5 | - | 7 | - | |
| sf[i] | 1 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | |
| 1 | 3 | 4 | 1 | 4 | 3 | 1 | 1 |
Let us see the details for positions 5 to 1. At position 5, we set because LSF (Line 5). At position 4, Line 11 extends this candidate and we get . At position 3, it just copies . At position 2, it first copies at Line 9. Since sf[6] = 1, it then raises to 6 - 2 = 4 at Line 14. At position 1, it just copies . The maximum value in for is 4. The reverse string
Longest Unbordered Factors in Linear Time
is , with candidate array . The entry yields . This factor is unbordered and has maximum length .
4 Correctness
This section gives a proof of the correctness of Algorithm 1. We first establish a useful property of the endpoints of longest unbordered factors.
► Lemma 6. Let be a longest unbordered factor of . The ending position of the rightmost occurrence of plus one is a square-free cut of . Symmetrically, the starting position of the leftmost occurrence of is also a square-free cut of .
Proof. We show the former claim for the rightmost endpoint. The latter one follows by reversal. Let be the rightmost occurrence with . For the sake of contradiction, we assume for some nonempty string . If , then is a proper suffix of and occurs at position . By Lemma 2, is unbordered, which contradicts the maximality of . If , then is a suffix of . The square implies the occurrence of starting at position , which contradicts that is the rightmost occurrence of .
The next lemma states that the candidate values obtained by Algorithm 2 are valid.
► Lemma 7. For every , the factor is unbordered.
Proof. Since is updated only in the iteration for in Algorithm 2, it suffices to show that every iteration updates so that is unbordered. We use induction on in decreasing order. The base case is obvious since the length-1 suffix is unbordered.
We say that an update is valid if is unbordered.
Update at Line 5. If , then occurs only once in , so this suffix is unbordered. Thus is valid.
Update at Line 9. If , let and let be the candidate string starting at . By the induction hypothesis, string is unbordered. If , string also occurs at . Namely, is unbordered. Thus is valid.
Update at Line 11. In addition, if , assume that has a border of length . Then holds since the occurrence of as a suffix of starts after . Since and , we have . Thus, is a proper prefix of because . Further, is a suffix of and thus of , i.e., is bordered, a contradiction. Therefore, is unbordered. Thus is valid.
Update at Line 14. Finally, if , assume that has a border of length , which again satisfies . It follows that , which gives a square centered at , a contradiction. Therefore, is unbordered. Both the current candidate and are unbordered, so the update is valid.
Thus, is unbordered after the iteration for , completing the induction.
The next lemma gives a sufficient condition for the scan to find the longest unbordered factor starting at a given position.
► Lemma 8. Let be nonempty and unordered, with . If or , then holds.
Proof. We prove the claim by induction on in decreasing order, simultaneously for all cuts satisfying the assumptions. For the base case , the assumptions imply , and hence .
If , then (Line 5 of Algorithm 2). Otherwise, let . The rightmost choice of gives .
We next show that . If , then holds automatically. Thus, we consider the other case where and . Let . Then by definition. Assume (see also Figure 1). Since , the suffixes starting at and share a prefix of length . The suffixes starting at and also share a prefix of length by the definition of . Thus, the length- prefixes starting at and are equal. Since , this gives a later occurrence of the length- prefix of , so . This contradicts the assumption . Thus we have .

Figure 1 Illustration of the case . The gray blocks represent the same string of length .
If , then holds due to Line 14 of Algorithm 2.
The remaining case to be considered is . Assume that has a border of length . If , then is also a border of , a contradiction. Otherwise, , and the two occurrences of give , contradicting . Thus, is unordered. Recall that holds by assumption. If , again let . Since , the definition of gives . By the definition of , we have . Thus, the length- prefixes starting at and are both equal to . Hence holds. The assumption gives . Hence the induction hypothesis at gives . If we assume , then is a border of , a contradiction. Thus, holds. Therefore, holds, so the extension rule at Line 11 is applied and yields .
Together with Lemma 6, the next lemma shows that every uniquely occurring longest unordered factor of satisfies the conditions of Lemma 8 in at least one of the two directions.
► Lemma 9 (Key lemma). Let be a longest unordered factor that occurs only once in , with . Let be the longest successor factor array of . Then or .
Proof. Let , , , and . Since is the longest unordered factor, holds by Lemma 2. Thus, is positive. Similarly, is also positive. In addition, uniqueness of gives , since otherwise occurs again starting at position or . In what follows, we assume on the contrary that and .
Let and . Since , there are at least two occurrences of in . Let be the shortest prefix of containing two occurrences
Longest Unbordered Factors in Linear Time

Figure 2 A prefix of with and its border .
of . Note that starts and ends with and contains exactly twice. Similarly, let be the shortest suffix of containing two occurrences of . Also, starts and ends with and contains exactly twice. Then, string is a factor of , with and . The lengths of the longest matches give and . Since , is the longest unordered prefix of and is the longest unordered suffix of . Now, we show the next claim:
Claim 10. Every unordered prefix of has length at most , and every unordered suffix of has length at most .
Proof of Claim 10. By Lemma 3, the unordered-decomposition of starts with . Removing this first phrase gives , where each is an unordered prefix of . Assume that is longer than . Then, starts with . Since occurs exactly twice in , the starting position of is either 0 or in . The latter case is impossible because . Hence, starts at the first position of . However, such an occurrence of gives , a contradiction. Thus, every phrase has length at most .
Consider any prefix of with . We now prove that has a border. Let be the phrase of the above decomposition of that contains the last position of . Let be the nonempty prefix of the phrase ending at the last position of (see also Figure 2). Then is a suffix of . Further, is a prefix of since is a prefix of , which is a prefix of . Since , is a prefix of , which is a prefix of . Therefore, is a border of , i.e., is bordered.
Applying the same argument to and , with in place of , shows that every unordered suffix of has length at most .
Let us consider the string . Suppose position is not a square-free cut of . Then, let be the shortest square centered at position in . Its root is unordered, since any border of implies a shorter square at the same center. By Claim 10, we have . Since ends with of length and starts with of length , the string is a border of , a contradiction. Thus, position is a square-free cut of . Now, we show the next claim:
Claim 11. There are a nonempty suffix of and a nonempty prefix of that are mutually nonintersecting and satisfy or .
Proof of Claim 11. Recall that and have borders of lengths and , respectively. Since is a square-free cut of , the last character of and the first character of differ. Thus, there exists a pair of a nonempty suffix of and a nonempty prefix of that

Figure 3 Construction of in under the assumptions and .
are mutually nonintersecting. Among all such pairs, choose a suffix and a prefix with maximum total length . Let . To prove that these satisfy the condition of the statement, we assume on the contrary that and .
The border of ensures multiple occurrences of in . Let be the suffix of starting with the second rightmost occurrence of in . By definition, occurs exactly twice in . We prove that must occur in : If does not occur in , then and are mutually nonintersecting: any occurrence of intersecting either lies inside or intersects its leftmost or rightmost occurrence of in . The former case contradicts the absence of in ; the latter case contradicts the nonintersection of and . Therefore, the pair has greater total length than , a contradiction. Thus occurs in .
Let be the suffix of starting with the rightmost occurrence of in . Since and are mutually nonintersecting, every occurrence of in lies between its leftmost and rightmost occurrences of , disjoint from both. Thus, excludes the leftmost occurrence of in and retains the rightmost one. By the choice of the rightmost occurrence of in , string contains exactly one occurrence of each of and .
Symmetrically, let be the prefix of ending with the second leftmost occurrence of in . By the symmetric argument, occurs in . Let be the prefix of ending with its leftmost occurrence of . This occurrence lies between the two occurrences of , disjoint from both. Hence, retains the leftmost occurrence of in and excludes the rightmost one, and contains exactly one occurrence of each of and . Both and start with and end with , so . See Figure 3 for illustration.
If , then forms a square centered at in , a contradiction. Otherwise, suppose an occurrence of intersects an occurrence of in some string. If their starting positions coincide, the shorter occurrence is contained in the longer one. Their distinct ending positions give two occurrences of in the longer one, a contradiction. If their starting positions differ, the leftmost occurrence of in the later one starts inside the earlier one. If this occurrence of lies entirely inside the earlier occurrence, it gives a second occurrence of there, a contradiction. Otherwise, it crosses the right boundary of the earlier occurrence and intersects its rightmost occurrence of , contradicting the nonintersection of and . Thus, and are mutually nonintersecting. Since is a suffix of and is a prefix of , and , this contradicts the maximality of the pair . Therefore, or .
Let satisfy the conditions of Claim 11. The factor is longer than , so it is bordered. By Lemma 4, has period . Since , this periodicity gives
Longest Unbordered Factors in Linear Time
and . Thus, and , contradicting the condition that or .
Therefore, or . This concludes the proof of Lemma 9.
We are ready to show the completeness of the two-direction scans.
► Lemma 12. Let be the longest unbordered factor length of and let and be the arrays computed in Algorithm 1. For every , the factor is unbordered if and only if or .
Proof. () Lemma 7 straightforwardly gives that or implies is unbordered.
() Fix any longest unbordered string occurring in . We show that every occurrence of is represented by a candidate of length in or . We consider two cases based on the uniqueness of in .
-
Suppose occurs only once in . Let be the occurrence of . By Lemma 6, both endpoints of are square-free cuts of , i.e., . If or , we can apply Lemma 8 to in or in . Otherwise, Lemma 9, together with , allows us to apply Lemma 8 to in or to in . Thus, applying Lemma 8 in one of the two directions, we have or . By Lemma 7, both candidate lengths are at most . Hence or .
-
Suppose occurs at least twice in . In this case, we show that the right-to-left scan on alone captures every occurrence of . By Lemma 5, the smallest period of is . Firstly, let us consider the rightmost occurrence of in , say . Its right endpoint is square-free by Lemma 6. Due to the periodicity, holds, since otherwise it gives another occurrence of at . If , again, we can directly apply Lemma 8. Otherwise, periodicity gives , whereas . In either case, applying Lemma 8 to in gives , and hence .
We now prove that holds for all earlier occurrences of , by induction on their starting positions in decreasing order. At such a position , a later occurrence of gives . Thus satisfies , so also occurs at position . By induction, . Line 9 of Algorithm 2 assigns to , giving . Consequently, the right-to-left scan on captures every occurrence of .
In both cases, every occurrence of is captured by at least one of the two scans.
Lemma 12 ensures that at least one candidate from has length . Together with Lemma 7, this gives for the value computed in Algorithm 1.
5 Linear-time preprocessing
This section shows -time algorithms to compute the three arrays , and for a given string of length . Recall that the alphabet is assumed to be a set of integers . Kociumaka et al. [11] showed that arrays and can be computed in time with simple modifications to the construction algorithm for the longest previous factor array given in [4].
It remains to compute the square-free cut array . The idea is to represent the set of square centers as the union of intervals obtained from runs (a.k.a. maximal repetitions).
Then, the count at is positive if and only if . A run is a factor of with the smallest period such that or and or . We denote by a run with the smallest period . It is known that there are at most runs in a string of length and all runs can be enumerated in time [2]. In addition, each run gives a square centered at every cut , because holds. Conversely, for any square centered at that has the smallest period , there is exactly one run with the same smallest period such that the square is a factor of and thus . Thus, the union of the intervals over all runs is exactly the set of square centers in . We compute this union with a difference array , initially zero. For each run , we increment the value at the left endpoint of and decrement the value immediately after the right endpoint of . The prefix sum counts the intervals containing cut . For each , we set if , and otherwise. This procedure takes time since each run contributes exactly two updates, and all prefix sums take time in total.
Therefore, the preprocessing can be done in time, and thus Algorithm 1 runs in time. Together with Lemma 12, we have proven our main theorem restated below:
► Theorem 1. Given a string of length over an integer alphabet of size , we can compute all occurrences of longest unbordered factors of in time.
AI Disclosure
This manuscript was prepared with AI assistance. The author's main contribution was to improve the readability of the paper. An initial version of the algorithm was obtained from a six-hour run of ChatGPT dots on 9 October 2026. ChatGPT 6 Astra (Ultra) was then used to organize the material into a draft paper. The author reviewed the generated draft, simplified the algorithm, checked the technical arguments in detail, investigated the relationship to previous work, created the figures, and substantially restructured the paper. The author takes full responsibility for the content of this paper.
References
1 Roland Assous and Maurice Pouzet. Une caractérisation des mots périodiques. Discret. Math., 25(1):1–5, 1979. doi:10.1016/0012-365X(79)90146-8.
2 Hideo Bannai, Tomohiro I, Shunsuke Inenaga, Yuto Nakashima, Masayuki Takeda, and Kazuya Tsuruta. The "runs" theorem. SIAM J. Comput., 46(5):1501–1514, 2017. doi:10.1137/15M1011032.
3 Patrick Hagge Cording, Travis Gagie, Mathias Bæk Tejs Knudsen, and Tomasz Kociumaka. Maximal unbordered factors of random strings. Theor. Comput. Sci., 852:78–83, 2021. doi:10.1016/J.TCS.2020.11.019.
4 Maxime Crochemore and Lucian Ilie. Computing longest previous factor in linear time and applications. Inf. Process. Lett., 106(2):75–80, 2008. doi:10.1016/J.IPL.2007.10.006.
5 Jean-Pierre Duval. Relationship between the period of a finite word and the length of its unbordered segments. Discret. Math., 40(1):31–44, 1982. doi:10.1016/0012-365X(82)90186-8.
6 Andrzej Ehrenfeucht and D. M. Silberger. Periodicity and unbordered segments of words. Discret. Math., 26(2):101–109, 1979. doi:10.1016/0012-365X(79)90116-X.
7 Pawel Gawrychowski, Gregory Kucherov, Benjamin Sach, and Tatiana Starikovskaya. Computing the longest unbordered substring. In Costas S. Iliopoulos, Simon J. Puglisi, and Emine Yilmaz, editors, String Processing and Information Retrieval - 22nd International Symposium,
Longest Unbordered Factors in Linear Time
SPIRE 2015, London, UK, September 1-4, 2015, Proceedings, volume 9309 of Lecture Notes in Computer Science, pages 246-257. Springer, 2015. doi:10.1007/978-3-319-23826-5_24.
8 Tero Harju and Dirk Nowotka. Periodicity and unordered words: A proof of the extended Duval conjecture. J. ACM, 54(4):20, 2007. doi:10.1145/1255443.1255448.
9 Štěpán Holub and Dirk Nowotka. The Ehrenfeucht-Silberger problem. In Susanne Albers, Alberto Marchetti-Spaccamela, Yossi Matias, Sotiris E. Nikoletseas, and Wolfgang Thomas, editors, Automata, Languages and Programming, 36th International Colloquium, ICALP 2009, Rhodes, Greece, July 5-12, 2009, Proceedings, Part I, volume 5555 of Lecture Notes in Computer Science, pages 537-548. Springer, 2009. doi:10.1007/978-3-642-02927-1_45.
10 Štěpán Holub and Dirk Nowotka. The Ehrenfeucht-Silberger problem. J. Comb. Theory A, 119(3):668-682, 2012. doi:10.1016/J.JCTA.2011.11.004.
11 Tomasz Kociumaka, Ritu Kundu, Manal Mohamed, and Solon P. Pissis. Longest unbordered factor in quasilinear time. In Wen-Lian Hsu, Der-Tsai Lee, and Chung-Shou Liao, editors, 29th International Symposium on Algorithms and Computation, ISAAC 2018, Jiaoxi, Yilan, Taiwan, December 16-19, 2018, volume 123 of LIPIcs, pages 70:1-70:13. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2018. doi:10.4230/LIPICS.ISAAC.2018.70.
12 Tomasz Kociumaka, Jakub Radoszewski, Wojciech Rytter, and Tomasz Waleń. Internal pattern matching queries in a text and applications. SIAM J. Comput., 53(5):1524-1577, 2024. doi:10.1137/23M1567618.
13 Alexander Loptev, Gregory Kucherov, and Tatiana Starikovskaya. On maximal unbordered factors. In Ferdinando Cicalese, Ely Porat, and Ugo Vaccaro, editors, Combinatorial Pattern Matching - 26th Annual Symposium, CPM 2015, Ischia Island, Italy, June 29 - July 1, 2015, Proceedings, volume 9133 of Lecture Notes in Computer Science, pages 343-354. Springer, 2015. doi:10.1007/978-3-319-19929-0_29.
14 Shoma Sekizaki and Takuya Mieno. Algorithms for computing longest unbordered factors on run-length encoded strings. Theory Comput. Syst., 70(1):55, 2026. doi:10.1007/s00224-026-10300-y.