Leetcode 2907. Maximum Profitable Triplets With Increasing Prices I | Hello Interview