2818. Apply Operations to Maximize Score - Explanation

Problem Link