Pregunta de entrevista de Goldman Sachs

Explain Longest subsequence with example