3041. Maximize Consecutive Elements in an Array After Modification - Hard | DSA Corner | Talentd