Cses Problem Set Subarray Leetcode