Leetcode 2897. Apply Operations on Array to Maximize Sum of Squares | Hello Interview