Question d’entretien chez IBM

Longest increasing subsequence leetcode style problem.