can u please explain the formulae of calculating difference and what is ‘N’ in the formulae
Dividing array problem
@sengarankit98 the formula is bit unclear, let me clear it, for every i from 1 to N calculate sum(abs(Ai - Bi)).
You need to calculate the absolute difference between elements to two array and add all those differences.
If this resolves your doubt mark it resolved.
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.