[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-detail-83878-en":3,"doc-seo-83878-105":29,"detail-sidebar-cat-0-en-105":91},{"code":4,"msg":5,"data":6},0,"success",{"doc_id":7,"user_id":8,"nickname":9,"user_avatar":10,"doc_module":4,"category_id":11,"category_name":12,"doc_title":13,"doc_description":14,"doc_content":15,"file_id":16,"file_url":17,"file_type":18,"file_size":19,"view_count":20,"is_deleted":4,"is_public":20,"is_downloadable":20,"audit_status":20,"page_count":21,"language":22,"language_code":23,"site_id":24,"html_lang":23,"table_of_contents":25,"faqs":26,"seo_title":13,"seo_description":14,"update_tm":27,"read_time":28},83878,8796095461564,"Liam","https://ap-avatar.wpscdn.com/davatar_155a257f0dc6eb9ab79c44ca47cae57d",8,"Research & Report","Online Computation of the Longest Repeating Suffix and Smallest Suffixient Sets via Incremental Run-Length BWT-based Indexes","Online computation of the longest repeating suffix (LRS) and construction of smallest suffixient sets are revisited with compressed-space techniques. The work provides the first compressed-space online construction of smallest suffixient sets and introduces two space–time trade-offs for LRS and suffixient sets, parameterized by the number of runs in the run-length Burrows–Wheeler transform of the reverse string. It also proves Ω(n) peak working-space lower bounds for deterministic online LRS, extending them to online maintenance variants.","arXiv :2607 .05004v 1 [ cs .DS] 6 Jul 2026  \nOnline Computation of the Longest Repeating Suffix and Smallest Suffixient Sets via Incremental Run-Length BWT-based Indexes  \nPaola Bonizzoni \\# Ñ  \nDepartment of Computer Science, University of Milano-Bicocca, Italy Younan Gao \\# Ñ  \nDepartment of Computer Science, University of Milano-Bicocca, Italy  \nDominik Köppl \\# Ñ University of Yamanashi, Kofu, Japan Gregory Kucherov \\# Ñ  \nLIGM, CNRS and Gustave Eiffel University, Marne-la-Vallée, France  \n~~ Abstract ~~  \nWe revisit the online construction of smallest suffixient sets and the online computation of the longest repeating suffix (LRS) . We give the first compressed-space online construction of smallest suffixient sets, and present two space-time trade-offs for both problems:  \n O (r log n + n) bits of working space and O(log2 n/ log log n) worst-case time per character, and  \n O (r log n + n log log n) bits of working space and O((log n/ log log n)2 ) worst-case time per character.  \nHere, r is the number of runs in the Burrows-Wheeler transform of the reverse of T [1..n] . In particular, for highly repetitive texts satisfying r = O (n/ log n), the first trade-off uses O (n) bits of working space, while the second uses O (n log log n) bits.  \nWe also prove that any deterministic online algorithm for computing LRS requires Ω(n) bits of peak working space in the worst case, even over a constant-size alphabet. Through reductions from online LRS computation, we extend this lower bound to deterministic online algorithms maintaining either an arbitrary smallest suffixient set augmented with the length of the supermaximal right extension represented by each selected position, or the position-only smallest suffixient set obtained by selecting the rightmost occurrence of every such extension.  \nFor constructing smallest suffixient sets, our algorithms are the first online solutions using compressed working space, improving the O(n)-word space required by previous online constructions. For compressed-space online LRS computation, compared with the algorithm of Prezza and Rosone [CiE 2020], our bounds improve their O(log2 n) amortized time per character by factors of Θ(log log n)  \nand Θ((log log n)2 ) , respectively, while also providing worst-case guarantees.  \n2012 ACM Subject Classification Theory of computation → Data structures design and analysis  \nKeywords and phrases Online algorithms, compressed data structures, run-length Burrows-Wheeler transform, longest repeating suffix, smallest suffixient sets, string repetitiveness  \nFunding Paola Bonizzoni and Younan Gao have received funding from the European Union’s Horizon 2020 research and innovation programme under the Marie Skłodowska-Curie grant agreement PANGAIA No. 872539, as well as from grant MIUR 2022YRB97K (PINC, Pangenome Informatics: From Theory to Applications), funded by the European Union under the NextGenerationEU programme, Mission 4 .  \nDominik Köppl: JSPS KAKENHI Grant Number 25K21150  \n 1  Introduction  \nComputing the longest repeating suffix (LRS) is a classical problem in which for a text T [1..n], the value LRS [i] stores the length of the longest suffix of T [1..i] that occurs at least twice in  \n2 Online Computation of the Longest Repeating Suffix and Smallest Suffixient Sets  \nT [1..i] . This information is useful when solving pattern analysis and data compression [27], especially by analyzing repetitions in the text [14], and has applications in deriving the Lempel-Ziv factorization [17] .  \nSmallest suffixient sets [6] were recently introduced as a measure of string repetitiveness, motivated by the study of highly repetitive data such as genomic collections. The definition of suffixient sets is based on the notion of right-maximal substrings: substrings that occur in the text and can be followed by at least two distinct characters. These substrings correspond to the branching points, or internal nodes, of the suffix tree. Suffixient sets capture this bran","cbCaimcpY4WxlYvJ","https://ap.wps.com/l/cbCaimcpY4WxlYvJ","pdf",824327,1,25,"English","en",105,"# Introduction\n## Related Work","[{\"question\":\"What are the longest repeating suffix (LRS) values computing for each prefix?\",\"answer\":\"For each position i, LRS[i] stores the length of the longest suffix of T[1..i] that occurs at least twice. It reflects the longest repeated suffix ending at the newly read character.\"},{\"question\":\"How do smallest suffixient sets relate to right-maximal substrings and LRS computation?\",\"answer\":\"Smallest suffixient sets are defined via right-maximal substrings and cover one-character right extensions of those substrings. The previous occurrences of LRS[i] can be witnessed by right extensions represented by the smallest suffixient set for the reverse of the current prefix.\"},{\"question\":\"What space–time trade-offs and lower bounds are established in the paper?\",\"answer\":\"Two space–time trade-offs are given for online construction and online LRS computation in compressed working space, depending on run counts r in the run-length BWT. The paper proves that any deterministic online algorithm for LRS needs Ω(n) peak working space in the worst case and extends this lower bound to related suffixient-set maintenance variants.\"}]",1784191178,63,{"code":4,"msg":30,"data":31},"ok",{"site_id":24,"language":23,"slug":32,"title":13,"keywords":33,"description":14,"schema_data":34,"social_meta":86,"head_meta":88,"extra_data":90,"updated_unix":27},"online-computation-of-the-longest-repeating-suffix-and-smallest-suffixient-sets-via-incremental-run-length-bwt-based-indexes","",{"@graph":35,"@context":85},[36,53,68],{"@type":37,"itemListElement":38},"BreadcrumbList",[39,43,47,50],{"item":40,"name":41,"@type":42,"position":20},"https://docshare.wps.com","Home","ListItem",{"item":44,"name":45,"@type":42,"position":46},"https://docshare.wps.com/document/","Document",2,{"item":48,"name":12,"@type":42,"position":49},"https://docshare.wps.com/document/research-report/",3,{"item":51,"name":13,"@type":42,"position":52},"https://docshare.wps.com/document/online-computation-of-the-longest-repeating-suffix-and-smallest-suffixient-sets-via-incremental-run-length-bwt-based-indexes/83878/",4,{"url":51,"name":13,"@type":54,"author":55,"headline":13,"publisher":57,"fileFormat":60,"inLanguage":23,"description":14,"dateModified":61,"datePublished":62,"encodingFormat":60,"isAccessibleForFree":63,"interactionStatistic":64},"DigitalDocument",{"name":9,"@type":56},"Person",{"url":40,"name":58,"@type":59},"DocShare","Organization","application/pdf","2026-07-24","2026-07-16",true,{"@type":65,"interactionType":66,"userInteractionCount":20},"InteractionCounter",{"@type":67},"ViewAction",{"@type":69,"mainEntity":70},"FAQPage",[71,77,81],{"name":72,"@type":73,"acceptedAnswer":74},"What are the longest repeating suffix (LRS) values computing for each prefix?","Question",{"text":75,"@type":76},"For each position i, LRS[i] stores the length of the longest suffix of T[1..i] that occurs at least twice. It reflects the longest repeated suffix ending at the newly read character.","Answer",{"name":78,"@type":73,"acceptedAnswer":79},"How do smallest suffixient sets relate to right-maximal substrings and LRS computation?",{"text":80,"@type":76},"Smallest suffixient sets are defined via right-maximal substrings and cover one-character right extensions of those substrings. The previous occurrences of LRS[i] can be witnessed by right extensions represented by the smallest suffixient set for the reverse of the current prefix.",{"name":82,"@type":73,"acceptedAnswer":83},"What space–time trade-offs and lower bounds are established in the paper?",{"text":84,"@type":76},"Two space–time trade-offs are given for online construction and online LRS computation in compressed working space, depending on run counts r in the run-length BWT. The paper proves that any deterministic online algorithm for LRS needs Ω(n) peak working space in the worst case and extends this lower bound to related suffixient-set maintenance variants.","https://schema.org",{"og:url":51,"og:type":87,"og:title":13,"og:site_name":58,"og:description":14},"article",{"robots":89,"canonical":51},"index,follow",{"doc_id":7,"site_id":24},{"code":4,"msg":5,"data":92},[93,97,101,105,110,115,120,123,128,131,135],{"id":20,"doc_module":4,"doc_module_name":45,"category_name":94,"show_sort_weight":95,"slug":96},"Story & Novel",90,"story-novel",{"id":46,"doc_module":4,"doc_module_name":45,"category_name":98,"show_sort_weight":99,"slug":100},"Literature",80,"literature",{"id":52,"doc_module":4,"doc_module_name":45,"category_name":102,"show_sort_weight":103,"slug":104},"Exam",70,"exam",{"id":106,"doc_module":4,"doc_module_name":45,"category_name":107,"show_sort_weight":108,"slug":109},5,"Comic",60,"comic",{"id":111,"doc_module":4,"doc_module_name":45,"category_name":112,"show_sort_weight":113,"slug":114},6,"Technology",50,"technology",{"id":116,"doc_module":4,"doc_module_name":45,"category_name":117,"show_sort_weight":118,"slug":119},7,"Healthcare",40,"healthcare",{"id":11,"doc_module":4,"doc_module_name":45,"category_name":12,"show_sort_weight":121,"slug":122},30,"research-report",{"id":124,"doc_module":4,"doc_module_name":45,"category_name":125,"show_sort_weight":126,"slug":127},9,"Religion & Spirituality",20,"religion-spirituality",{"id":126,"doc_module":4,"doc_module_name":45,"category_name":129,"show_sort_weight":126,"slug":130},"World Cup","world-cup",{"id":132,"doc_module":4,"doc_module_name":45,"category_name":133,"show_sort_weight":132,"slug":134},10,"Lifestyle","lifestyle",{"id":136,"doc_module":4,"doc_module_name":45,"category_name":137,"show_sort_weight":106,"slug":138},19,"General","general"]