Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions minRectArea.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Flipkart IIT Kanpur 2018

Given two vectors of length n representing the x and y
coordinates of cartesian points, find the minimum possible area
of a rectangle which can be formed using four distinct points.
of a rectangle which can be formed using four distinct points which has sides parallel to the x & y axis.
If non rectangle can be formed, return -1.

1 <= n <= 1000
Expand Down Expand Up @@ -42,4 +42,4 @@ signed main() {
{1,3,1,8,1,8,1,3}
) << '\n';
return 0;
}
}