Squarepoint Capital Interview Question

Longuest increasing sunsequence leetcode hard