Skip to main content

The Longest Common Subsequence Problem A Finite Automata Approach

  • Conference paper
  • First Online:
Implementation and Application of Automata (CIAA 2003)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 2759))

Included in the following conference series:

Abstract

A new algorithm that creates a common subsequence automaton for a set of strings is presented. Moreover, it is shown that a longest common subsequence of two strings over a constant alphabet can be found in \( \mathcal{O}\left( {\left| A \right|\left( {\left| {S_1 } \right| + \left| {S_2 } \right| + \sum _{\alpha \in A} \left| {S_1 } \right|_\alpha \left| {S_2 } \right|_\alpha } \right)} \right) \) time, where |A| is the size of the alphabet, |S i | is the length of the input string i, and |S i |a is the number of occurrences of a ∈ A in S i .

This research has been partialy supported by the Ministry of Education, Youth, and Sports of the Czech Republic under research program No. J04/98:212300014 (Research in the area of information technologies and cummunications) and by Grant Agency of Czech Republic grant No. 201/01/1433.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Hirschberg, D. S.: A linear space algorithm for computing maximal common subsequences. Commun. ACM 18 (1975) 341–343

    Article  MATH  MathSciNet  Google Scholar 

  2. Hunt, J.W., Szymanski, T.G.: A fast algorithm for computing longest common subsequences. Commun. ACM 20 (1977) 350–353

    Article  MATH  MathSciNet  Google Scholar 

  3. Hébrard, J. J., Crochemore, M.: Calcul de la distance par les sous-mots. RAIRO Inform. Théor. Appl. 20 (1986) 441–456

    MathSciNet  MATH  Google Scholar 

  4. Troníček, Z., Melichar, B.: Directed acyclic subsequence graph. In Holub, J., Šimánek, M., eds.: Proceedings of the Prague Stringology Club Workshop’ 98, Czech Technical University, Praque, Czech Republic (1998) 107–118 Collaborative Report DC-98-06.

    Google Scholar 

  5. Crochemore, M., Troníček, Z.: Directed acyclic subsequnce graph for multiple texts. Repport I.G.M. 99-13, Université de Marne-la-Vallée (1999)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2003 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Melichar, B., Polcar, T. (2003). The Longest Common Subsequence Problem A Finite Automata Approach. In: Ibarra, O.H., Dang, Z. (eds) Implementation and Application of Automata. CIAA 2003. Lecture Notes in Computer Science, vol 2759. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-45089-0_27

Download citation

  • DOI: https://doi.org/10.1007/3-540-45089-0_27

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-40561-0

  • Online ISBN: 978-3-540-45089-4

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics