Patching Array Leetcode Solution 1943 Quarter