Count of Squares that are parallel to the coordinate axis from the given set of N points
Given an array of points points[] in a cartesian coordinate system, the task is to find the count of the squares that are parallel to the coordinate axis. Examples: Input:points[] = {(0, 0), (0, 2), (2, 0), (2, 2), (1, 1)} Output: 1 Explanation: As the points (0, 0), (0, 2), (2, 0), (2, 2) forms squ