Maximum Sum Triplet Leetcode Playground