bigbasket interview question

Least common subsequence was asked