Contiguous Array Leetcode Questions