AMD Interview Question

coding question: find longest increasing subsequence in a given non-empty array