bigbasket Interview Question

Least common subsequence was asked