A Dynamic Data Structure for Reverse Lexicographically Sorted Prefixes

  • Authors:
  • Hidetoshi Yokoo

  • Affiliations:
  • -

  • Venue:
  • CPM '99 Proceedings of the 10th Annual Symposium on Combinatorial Pattern Matching
  • Year:
  • 1999

Quantified Score

Hi-index 0.02

Visualization

Abstract

This paper proposes a simple data structure, called a prefix list, which maintains all prefixes of a string in reverse lexicographic order. It can be on-line incrementally constructed in time and space linear in the string length. It is strongly related to suffix trees and suffix arrays, and may share applications with these existing structures. A suffix array can be built via the corresponding prefix list in linear time. Particular applications of the prefix list lie in source-coding problems that require on-line right-to-left string matching. We apply the prefix list to on-line estimation of source entropy and to context-based symbol-ranking text compression algorithms.