Longest common subsequence
medium 20 minGiven two strings, find the longest sequence of characters that appears in both in the same order, gaps allowed.
Given two strings, find the longest sequence of characters that appears in both in the same order, gaps allowed.