you give array point XY plane point pointsi xi yiReturn minimum area rectangle form point side necessarily parallel x Y axis if rectangle return 0answer 105 actual answer accept Example 1input point 12211001output 200000explanation the minimum area rectangle occur 12211001 area 2example 2input point 0121111020output 100000explanation the minimum area rectangle occur 10112120 area 1example 3input point 0312311321output 0explanation there possible rectangle form point Constraints1 pointslength 50pointsilength 20 xi yi 4 104all give point unique