447.Number of Boomerangs
Description
#447 | Number of Boomerangs | Medium | ||
---|---|---|---|---|
unknown | Top 150 | |||
You are given n points in the plane that are all distinct, where points[i] = [xi, yi]. A boomerang is a tuple of points (i, j, k) such that the distance between i and j equals the distance between i and k (the order of the tuple matters). |