Amazon Interview Question

Program to find the longest common subsequence (in a sequence)