Zynga Interview Question

Increasing subsequence problem which is also there in leetcode