2897. Apply Operations on Array to Maximize Sum of Squares - Hard | DSA Corner | Talentd