Two Subarrays Leetcode Python Interview