Example 1

Example 2

Example 3

1 <= side <= 1094 <= points.length <= min(4 * side, 15 * 103)points[i] == [xi, yi]The input is generated such that:
points[i] lies on the boundary of the square.
All points[i] are unique.points[i] lies on the boundary of the square.All points[i] are unique.4 <= k <= min(25, points.length)Example 1

Example 2

Example 3

1 <= side <= 1094 <= points.length <= min(4 * side, 15 * 103)points[i] == [xi, yi]The input is generated such that:
points[i] lies on the boundary of the square.
All points[i] are unique.points[i] lies on the boundary of the square.All points[i] are unique.4 <= k <= min(25, points.length)