Leetcode 3041. Maximize Consecutive Elements in an Array After Modification | Hello Interview