525 Contiguous Array Leetcode Problems Python