1
2.5kviews
Find longest sub sequence of given two strings BATA and TATA

Find longest subsequence of given two steps

X = {B A T A}

Y = {T A T A}

1 Answer
1
19views

Longest Common Subsequence

  • The Longest Common Subsequence (LCS) is defined as the longest subsequence that is common to all the given strings provided.
  • But, the elements of the subsequence are not required to occupy consecutive positions within the original strings.
  • The longest common subsequence problem is finding the longest sequence …

Create a free account to keep reading this post.

and 2 others joined a min ago.

Please log in to add an answer.