{"title":"Optimal In-Place Suffix Sorting","authors":"Zhize Li, Jian Li, Hongwei Huo","doi":"10.1109/DCC.2018.00075","DOIUrl":null,"url":null,"abstract":"Suffix array is a fundamental data structure for many applications that involve string searching and data compression. We obtain the \\emph{first} linear time in-place suffix array construction algorithm which is optimal both in time and space for read-only integer alphabets. Our algorithm settles the open problem posed by [Franceschini and Muthukrishnan, ICALP'07]. The open problem asked to design in-place algorithms in o(n\\log n) time and ultimately, in O(n) time for integer alphabets with |ς|≤ n. Our result is in fact slightly stronger since we allow |ς|=O(n). Besides, we extend it to obtain an optimal O(n\\log n) time in-place suffix sorting algorithm for read-only general alphabets (i.e., only comparisons are allowed).","PeriodicalId":137206,"journal":{"name":"2018 Data Compression Conference","volume":"46 12","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2016-10-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"31","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2018 Data Compression Conference","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/DCC.2018.00075","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 31
Abstract
Suffix array is a fundamental data structure for many applications that involve string searching and data compression. We obtain the \emph{first} linear time in-place suffix array construction algorithm which is optimal both in time and space for read-only integer alphabets. Our algorithm settles the open problem posed by [Franceschini and Muthukrishnan, ICALP'07]. The open problem asked to design in-place algorithms in o(n\log n) time and ultimately, in O(n) time for integer alphabets with |ς|≤ n. Our result is in fact slightly stronger since we allow |ς|=O(n). Besides, we extend it to obtain an optimal O(n\log n) time in-place suffix sorting algorithm for read-only general alphabets (i.e., only comparisons are allowed).