Everything about Longest common subsequence
Algorithmic problem on pairs of sequences
A longest common subsequence (LCS) is the longest subsequence common to all sequences in a set of sequences. It differs from the longest common substring: unlike substrings, elements of subsequences are not required to occupy consecutive positions within the original sequences. The problem of computing longest common subsequences is a classic computer science problem. Because it is polynomial and has an efficient algorithm to solve it, it is employed to compare data and merge changes to files in programs such as the diff utility and revision control systems such as Git. It has similar applications in computational linguistics and bioinformatics. Wikipedia →
🧭 Start here: a 6-step reading path
- Read the overview: Longest common subsequenceA 5-minute orientation
- Skim a recent paper: Time-series anomaly detection using dynamic programming based longest common subsequence on sensor dataInfluential work since 2022
- Pick up a classic book: Mathematical PuzzlesThe most-reprinted book on the subject
- Read the landmark paper: Algorithms for the Longest Common Subsequence ProblemCited 545 times
- Go sideways: Hirschberg's algorithmA closely related topic
- Go sideways: Shortest common supersequenceA closely related topic
📖 Definitions
No dictionary entry for this exact phrase.
🏆 Landmark papers (most cited)
Algorithms for the Longest Common Subsequence Problem
The longest common subsequence problem revisited
The constrained longest common subsequence problem
A bit-string longest-common-subsequence algorithm
A Fast Multiple Longest Common Subsequence (MLCS) Algorithm
On the generalized constrained longest common subsequence problems
Beam search for the longest common subsequence problem
Parallel algorithms for the longest common subsequence problem
🆕 Influential since 2022
Time-series anomaly detection using dynamic programming based longest common subsequence on sensor data
FLCSS: A fuzzy‐based longest common subsequence method for uncertainty management in trajectory similarity measures
Computing the longest common almost-increasing subsequence
Enhanced-Longest Common Subsequence based novel steganography approach for cloud storage
FEATURE ENGINEERING WITH SENTENCE SIMILARITY USING THE LONGEST COMMON SUBSEQUENCE FOR EMAIL CLASSIFICATION
📚 Books worth reading
Mathematical PuzzlesPeter Winkler · 2003
Foundations of computer scienceAlfred V. Aho · 1992
Computer Vision - ACCV 2012 WorkshopsJong-Il Park · 2013
Introduction to Programming in JavaRobert Sedgewick, Kevin Wayne · 2007
Algorithm Design and ApplicationsMichael T. Goodrich, Roberto Tamassia · 2014- 📕Expected length of longest common subsequencesVladimír Dančík · 1994
- 📕Solving Some Sequence Problems on Run-Length Encoded StringsJia-Jie Liu Y. L. Wang G. S. Huang · 2008
প্রোগ্রামিং কনটেস্টমোঃ মাহবুবুল হাসান · 2016
Ranked by number of editions on Open Library, a rough measure of how lasting a book is.
🔗 Related topics
- Hirschberg's algorithm In computer science, Hirschberg's algorithm, named after its inventor, Dan Hirschberg, is a dynamic programming algorithm that finds the optimal sequence…
- Shortest common supersequence In computer science, the shortest common supersequence of two sequences X and Y is the shortest sequence which has X and Y as subsequences. This is a problem…
- Subsequence In mathematics, a subsequence of a given sequence is a sequence that can be derived from the given sequence by deleting some or no elements without changing…
- Hunt–Szymanski algorithm In computer science, the Hunt–Szymanski algorithm, also known as Hunt–McIlroy algorithm, is a solution to the longest common subsequence problem. It was…
- Longest increasing subsequence In computer science, the longest increasing subsequence problem aims to find a subsequence of a given sequence in which the subsequence's elements are…
- Linear genetic programming "Linear genetic programming" is unrelated to "linear programming". Linear genetic programming (LGP) is a particular method of genetic programming wherein…
- Euclidean algorithm In mathematics, the Euclidean algorithm, or Euclid's algorithm, is an efficient method for computing the greatest common divisor (GCD) of two integers…
- Controlled grammar Controlled grammars are a class of grammars that extend, usually, the context-free grammars with additional controls on the derivations of a sentence in…