You are given an array points where points[i] = [x_i, y_i] represents a distinct point on the
A boomerang is a tuple of points (i, j, k) such that the distance between points[i] and points[j] is equal to the distance between points[i] and points[k], where i, j, and k are all distinct indices.
Return the total number of boomerangs.
Constraints:
n == points.length
points[i].length
All the points are unique.
You are given an array points where points[i] = [x_i, y_i] represents a distinct point on the
A boomerang is a tuple of points (i, j, k) such that the distance between points[i] and points[j] is equal to the distance between points[i] and points[k], where i, j, and k are all distinct indices.
Return the total number of boomerangs.
Constraints:
n == points.length
points[i].length
All the points are unique.