Amazon Interview Question

Given n Cartesian coordinates find largest/smallest amongst them