Revolut Interview Question

Longest Increasing Subsequence on leetcode. Other question not available online