Pregunta de entrevista de JPMorganChase

longest increasing subsequence in a array