Continuous Subarray Sum
Medium
Array Techniques
Print true if the array has a subarray of length at least 2 whose sum is a multiple of k, otherwise false.
Constraints
1 <= n <= 10^5 0 <= nums[i] <= 10^9 1 <= k <= 2^31 - 1
Discussion
No discussions yet.
Shalyam Support
Hi! Ask us anything — we'll reply on WhatsApp or Telegram within 24 hours.