Two Subarrays Leetcode Python Examples