Please help me through this question. As far as I know,the initial steps are:
i)sort the coordinates according to x-coordinates
ii)sort the cordinates according to y-coordinates
aim: to choose two consecutive coordinates whose x-distance is largest
and to choose two consecutive coordinates whose y-distance is largest.
is this logic correct?