CymSTAR interview question

Longest increasing subsequence array problem