Maximum Profitable Triplets With Increasing Prices II - DSA Problem | Talentd