Abstract
ABSTRACT We study the problem of finding the maximum suffix of a string on the external memory model of computation with one disk. In this model, we are primarily interested in designing algorithms that reduce the number of I/Os between the disk and the internal memory. A string of length has suffixes and among these, the lexicographically largest one is called the maximum suffix of the string. Finding the maximum suffix of a string plays a crucial role in solving some string problems. In this paper, we present an external memory algorithm for computing the maximum suffix of a string of length . The algorithm uses four blocks in the internal memory and performs at most 4 disk I/Os, where is the size of a block.Keyword:External Memory Algorithms, Maximum Suffix, Strings 1. Introduction 1) Let ∑ be an alphabet. Let and be two strings over ∑. If s is lexicographically less than , we denote this by . Let , where N is the length of . For ≤≤≤ ,
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.