you give array point XY plane point pointsi xi yiReturn minimum area rectangle form point side parallel X Y axis if rectangle return 0 example 1input point 1113313322output 4example 2input point 111331334143output 2 Constraints1 pointslength 500pointsilength 20 xi yi 4 104all give point unique