Given a list of [x, y] coordinates on a coordinate plane find the number of squares.
Clarifying question asked: Are the sides of the squares required to be parallel to x, y axis. To which the interviewer said yes. In the followup it was modified to make it not parallel to x/y axis but keep it a square.
Comments (6)


