0
how to calculate the distance between array numbers
how to calculate the distance between array numbers
2 odpowiedzi
+ 1
What do you mean by distance?
Is it the amount of indices they are away from each other, or is it the difference between the numbers(e.g. abs(a-b))
+ 1
key of element b - key of element a