Sparse suffix trees

  • Juha Kärkkäinen
  • Esko Ukkonen
Session 6
Part of the Lecture Notes in Computer Science book series (LNCS, volume 1090)


A sparse suffix tree is a suffix tree that represents only a subset of the suffixes of the text. This is in contrast to the standard suffix tree that represents all suffixes. By selecting a small enough subset, a sparse suffix tree can be made to fit the available storage, unfortunately at the cost of increased search times. The idea of sparse suffix trees goes back to PATRICIA tries. Evenly spaced sparse suffix trees represent every kth suffix of the text. In the paper, we give general construction and search algorithms for evenly spaced sparse suffix trees, and present their run time analysis, both in the worst and in the average case. The algorithms are further improved by using so-called dual suffix trees.


Internal Node Construction Algorithm String Match Suffix Tree Random Text 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    A. Andersson, N. J. Larsson, and K. Swansson, Suffix trees on words, in Proc. 7th Symposium on Combinatorial Pattern Matching (CPM), 1996. To appear.Google Scholar
  2. 2.
    A. Andersson and S. Nilsson, Improved behaviour of tries by adaptive branching, Inf. Process. Lett., 46 (1993), pp. 295–300.CrossRefGoogle Scholar
  3. 3.
    -, Efficient implementation of suffix trees, Software—Practice and Experience, 25 (1995), pp. 129–141.Google Scholar
  4. 4.
    A. Apostolico, The myriad virtues of subword trees, in Combinatorial Algorithms on Words, A. Apostolico and Z. Galil, eds., Springer-Verlag, 1985, pp. 85–95.Google Scholar
  5. 5.
    A. Apostolico and W. Szpankowski, Self-alignments in words and their applications, Journal of Algorithms, 13 (1992), pp. 446–467.Google Scholar
  6. 6.
    G. H. Gonnet, R. A. Baeza-Yates, and T. Snider, Lexicographical indices for text: Inverted files vs. Pat trees, Technical Report OED-91-01, Centre for the New OED, University of Waterloo, 1991.Google Scholar
  7. 7.
    R. W. Irving, Suffix binary search trees, Technical report TR-1995-7, Computing Science Department, University of Glasgow, Apr. 1995.Google Scholar
  8. 8.
    J. Kärkkäinen, Suffix cactus: A cross between suffix tree and suffix array, in Proc. 6th Symposium on Combinatorial Pattern Matching, CPM 95, 1995, pp. 191–204.Google Scholar
  9. 9.
    D. E. Knuth, J. H. Morris, and V. R. Pratt, Fast pattern matching in strings, SIAM J. Comput., 6 (1977), pp. 323–350.CrossRefGoogle Scholar
  10. 10.
    S. R. Kosaraju and A. L. Delcher, Large-scale assembly of DNA strings and space-efficient construction of suffix trees, in Proc. 27th Annual ACM Symposium on Theory of Computing (STOC), 1995, pp. 169–177.Google Scholar
  11. 11.
    U. Manber and G. Myers, Suffix arrays: A new method for on-line string searches, SIAM J. Comput., 22 (1993), pp. 935–948.CrossRefGoogle Scholar
  12. 12.
    U. Manber and S. Wu, A two-level approach to information retrieval, Technical Report TR 93-06, University of Arizona, 1993.Google Scholar
  13. 13.
    E. M. McCreight, A space-economical suffix tree construction algorithm, J. Assoc. Comput. Mach., 23 (1976), pp. 262–272.Google Scholar
  14. 14.
    D. R. Morrison, PATRICIA—Practical Algorithm To Retrieve Information Coded in Alphanumeric, J. Assoc. Comput. Mach., 15 (1968), pp. 514–534.Google Scholar
  15. 15.
    E. Ukkonen, On-line construction of suffix-trees, Algorithmica, 14 (1995), pp. 249–260.Google Scholar
  16. 16.
    P. Weiner, Linear pattern matching algorithms, in Proc. IEEE 14th Annual Symposium on Switching and Automata Theory, 1973, pp. 1–11.Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 1996

Authors and Affiliations

  • Juha Kärkkäinen
    • 1
  • Esko Ukkonen
    • 1
  1. 1.Department of Computer ScienceUniversity of HelsinkiFinland

Personalised recommendations