Problem
334. Increasing Triplet Subsequence
Follow up: Could you implement a solution that runs in O(n) time complexity and O(1) space complexity?
Java
Increasing triplet subsequence problem
1 | class Solution { |
Submission Detail
- 75 / 75 test cases passed.
- Runtime: 0 ms, faster than 100.00% of Java online submissions for Increasing Triplet Subsequence.
- Memory Usage: 39.1 MB, less than 9.26% of Java online submissions for Increasing Triplet Subsequence.