Domanda di colloquio di Zynga

Increasing subsequence problem which is also there in leetcode