Problem 939 · Medium
Treat each point pair as a diagonal and look up the two other corners in a hash set.
Open the interactive visualisation