Problem 447 · Easy

Number of Boomerangs

Count ordered triples of points where the first point is equally far from the other two. The visual picks each point as a pivot, groups the remaining points by squared distance, and counts ordered pairs inside each group.

Open the interactive visualisation