• DocumentCode
    2294009
  • Title

    Constant-space string-matching in sublinear average time

  • Author

    Crochemore, Maxime ; Gasieniec, Leszek ; Rytter, Wojciech

  • Author_Institution
    Inst. Gaspard Monge, Univ. de Marne-la-Vallee, France
  • fYear
    1997
  • fDate
    11-13 Jun 1997
  • Firstpage
    230
  • Lastpage
    239
  • Abstract
    Given two strings: pattern P of length m and text T of length n. The string-matching problem is to find all occurrences of the pattern P in the text T. We present a simple string-matching algorithm which works in average o(n) time with constant additional space for one-dimensional texts and two-dimensional arrays. This is the first attempt to the small-space string-matching problem in which sublinear time algorithms are delivered. More precisely we show that all occurrences of one- or two-dimensional patterns can be found in O(n/r) average time with constant memory, where r is the repetition size (size of the longest repeated subword) of P
  • Keywords
    pattern matching; additional space; constant-space string-matching; length; one-dimensional patterns; one-dimensional texts; repetition size; string-matching algorithm; sublinear average time; sublinear time algorithms; two-dimensional arrays; two-dimensional patterns; Algorithm design and analysis; Computer science; Data structures; Informatics; Pattern matching;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Compression and Complexity of Sequences 1997. Proceedings
  • Conference_Location
    Salerno
  • Print_ISBN
    0-8186-8132-2
  • Type

    conf

  • DOI
    10.1109/SEQUEN.1997.666918
  • Filename
    666918