I HAVE A DOUBT THIS PRINCIPLE USED IN ONLY DIVIDE BECAUSE IN THIS QUESTION we are just find those subarray which are divisible by n,but can we use it in when we require sum of array equal to N i.e. equal to size of array…
please briefly describe the question asked in video…
I HAVE A DOUBT THIS PRINCIPLE USED IN ONLY DIVIDE BECAUSE IN THIS QUEStion
@AMIT_KUMAR you only have to find such subarrays whose sum is DIVISIBLE BY N, now if the sum is equal to N, then also it is divisible by N, right? I am not sure what is your doubt exactly so please elaborate a bit if this is not what you are asking.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.