Amazon Interview Question

longest increasing subsequence