Leetcode 1799 Maximize Score After N Operations