X Interview Question

Largest increasing subsequence array leetcode.