Continuous Subarray Sum Leetcode Contest Solution