Leetcode 2908. Minimum Sum of Mountain Triplets I | Hello Interview