Time and space efficient search for small alphabets with suffix arrays

  • Authors:
  • Jeong Seop Sim

  • Affiliations:
  • School of Computer Science and Engineering, Inha University, Incheon, Korea

  • Venue:
  • FSKD'05 Proceedings of the Second international conference on Fuzzy Systems and Knowledge Discovery - Volume Part I
  • Year:
  • 2005

Quantified Score

Hi-index 0.00

Visualization

Abstract

To search a pattern P in a text, index data structures such as suffix trees and suffix arrays are widely used. It is known that searching with suffix trees is faster than with suffix arrays in the aspect of time complexity. But recently, a few linear-time search algorithms for constant-size alphabet in suffix arrays have been suggested. One of such algorithms proposed by Sim et al. uses Burrows-Wheeler transform and takes O(|P|log|Σ|) time. But this algorithm needs too much space compared to Abouelhoda et al.'s algorithm to search a pattern. In this paper we present an improved version for Sim et al.'s algorithm. It needs only 2n bytes at most if a given alphabet is sufficiently small.