You are given an integer array nums and an integer k.
You may choose at most
Return the maximum length of a subarray whose sum is divisible by k after applying at most
Note: A subarray is a contiguous non-empty sequence of elements within an array.
Constraints:
nums.length
nums[i]
k
You are given an integer array nums and an integer k.
You may choose at most
Return the maximum length of a subarray whose sum is divisible by k after applying at most
Note: A subarray is a contiguous non-empty sequence of elements within an array.
Constraints:
nums.length
nums[i]
k