Patching Array Leetcode Solution Github Python Game