Pregunta de entrevista de Amazon

Write a program to find the longest increasing subsequence