Longest Common Subsequence
You are given two sequences. Write a program to determine the longest common subsequence between the two strings (each string can have a maximum length of 50 characters). NOTE: This subsequence need not be contiguous. The input file may contain empty lines, these need to be ignored.
input data: XMJYAUZ;MZJAWXU output: MJAU
input data: GJhbxu;Jyu7bia output: Ju
This is a CodeEval challenge. Test your answer on CodeEval.