JPMorganChase Interview Question

longest increasing subsequence in a array