LeetCode

Increasing Triplet Subsequence

Click here for an explanation.