skip to main content
article
Free Access

A linear space algorithm for computing maximal common subsequences

Published:01 June 1975Publication History
Skip Abstract Section

Abstract

The problem of finding a longest common subsequence of two strings has been solved in quadratic time and space. An algorithm is presented which will solve this problem in quadratic time and in linear space.

References

  1. 1 Chvatal, V., Klarner, D.A., and Knuth, D.E. Selected combinatorial research problems. STAN.CS-72-292, Stanford U., (June 1972), 26. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. 2 Private communication from D. Knuth to J.D. Ullman.Google ScholarGoogle Scholar
  3. 3 Wagner, R.A., and Fischer, M.J. The string-to-string correction problem. J. ACM 21, 1 (Jan. 1974), 168-173. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. 4 Aho, A. V., Hirschberg, D.S., and Ullman, J.D. Bounds on the complexity of the longest common subsequence problem. Proc. 15th Ann. Symp. on Switching and Automata Theory, 1974, pp. 104-109.Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. A linear space algorithm for computing maximal common subsequences

            Recommendations

            Comments

            Login options

            Check if you have access through your login credentials or your institution to get full access on this article.

            Sign in

            Full Access

            • Published in

              cover image Communications of the ACM
              Communications of the ACM  Volume 18, Issue 6
              June 1975
              51 pages
              ISSN:0001-0782
              EISSN:1557-7317
              DOI:10.1145/360825
              Issue’s Table of Contents

              Copyright © 1975 ACM

              Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

              Publisher

              Association for Computing Machinery

              New York, NY, United States

              Publication History

              • Published: 1 June 1975

              Permissions

              Request permissions about this article.

              Request Permissions

              Check for updates

              Qualifiers

              • article

            PDF Format

            View or Download as a PDF file.

            PDF

            eReader

            View online with eReader.

            eReader