You are given an array of points, where point[i] =[xi,yi] represents a point on a 2D plane.
Your task is to determine the minimum area of a rectangle that can be formed using any four points where the rectangle’s sides are aligned parallel to the X and Y axes. If no such rectangle can be formed, return 0.
Constraints: