[LeetCode 334] Increasing Triplet Subsequence [Java]