Artykuł w czasopiśmie
Brak miniatury
Licencja

ClosedAccessDostęp zamknięty
 

Optimal dynamic strings

dc.abstract.enIn this paper, we study the fundamental problem of maintaining a dynamic collection of strings under the following operations: <br />• make string – add a string of constant length, <br />• concat – concatenate two strings, <br />• split – split a string into two at a given position, <br />• compare – find the lexicographical order (less, equal, greater) between two strings, <br />• LCP – calculate the longest common prefix of two strings. <br />We develop a generic framework for dynamizing the recompression method recently introduced by Jeż [J. ACM, 2016]. It allows us to present an efficient data structure for the above problem, where an update requires only O(log <em>n</em>) worst-case time with high probability, with n being the total length of all strings in the collection, and a query takes constant worst-case time. On the lower bound side, we prove that even if the only possible query is checking equality of two strings, either updates or queries must take amortized Ω(log <em>n</em>) time; hence our implementation is optimal.
dc.affiliationUniwersytet Warszawski
dc.conference.countryStany Zjednoczone
dc.conference.datefinish2018-01-10
dc.conference.datestart2018-01-07
dc.conference.placeNew Orleans
dc.conference.seriesACM/SIAM Symposium on Discrete Algorithms
dc.conference.seriesACM/SIAM Symposium on Discrete Algorithms
dc.conference.seriesshortcutSODA
dc.conference.shortcutSODA 2018
dc.conference.weblinkhttps://archive.siam.org/meetings/da18/
dc.contributor.authorŁącki, Jakub
dc.contributor.authorKociumaka, Tomasz
dc.contributor.authorKarczmarz, Adam
dc.contributor.authorSankowski, Piotr
dc.contributor.authorGawrychowski, Paweł
dc.date.accessioned2024-01-25T15:58:33Z
dc.date.available2024-01-25T15:58:33Z
dc.date.issued2018
dc.description.financeNie dotyczy
dc.identifier.doi10.1137/1.9781611975031.99
dc.identifier.urihttps://repozytorium.uw.edu.pl//handle/item/114994
dc.identifier.weblinkhttps://doi.org/10.1137/1.9781611975031.99
dc.languageeng
dc.pbn.affiliationcomputer and information sciences
dc.relation.pages1509-1528
dc.rightsClosedAccess
dc.sciencecloudnosend
dc.titleOptimal dynamic strings
dc.typeJournalArticle
dspace.entity.typePublication