[LeetCode] 2593. Find Score of an Array After Marking All Elements
You are given an array nums consisting of positive integers. Starting with score = 0, apply the following algorithm: Choose the smallest integer of the array that is not marked. If there is a tie