From 409ab59d0bbe3069befd577359b0966c3b980efd Mon Sep 17 00:00:00 2001 From: Amarnath Date: Fri, 26 Oct 2018 18:57:33 +0530 Subject: [PATCH] Update minRectArea.cpp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🦋 Flipkart IITK 2018 --- minRectArea.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/minRectArea.cpp b/minRectArea.cpp index 5e95832..d6bdd45 100644 --- a/minRectArea.cpp +++ b/minRectArea.cpp @@ -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 @@ -42,4 +42,4 @@ signed main() { {1,3,1,8,1,8,1,3} ) << '\n'; return 0; -} \ No newline at end of file +}