Pergunta de entrevista da empresa Goldman Sachs

Explain Longest subsequence with example