Patching Array Leetcode Solution 1943 Dime