∑ i = 1 N / 2 a b s ( A i − B i
is there any misprint what does the 1 mean in starting
Dividing array doubt
it is simple abs( ai - bi) ignore the n/2
n/2 signifies that the modified array a and b will be of n/2 size as compared to original array