Couln’t understand the Nc2 part and how it came
The NC2 part and how it came
Hi,
between any to indices of same sum%N if we take this subarray then the sum is divisible by N. So nC2 is the total number of subarrays that can be made.
Couln’t understand the Nc2 part and how it came
Hi,
between any to indices of same sum%N if we take this subarray then the sum is divisible by N. So nC2 is the total number of subarrays that can be made.