leetcode523. Continuous Subarray Sum
2019-12-31
阅读 3 分钟
2.2kGiven a list of non-negative numbers and a target integer k, write a function to check if the array has a continuous subarray of size at least 2 that sums up to a multiple of k, that is, sums up to n*k where n is also an integer.