Amazon Interview Question

Find the closest distance given several (x,y) points.

Interview Answer

Anonymous

Nov 27, 2018

Used the math equation x^2 + y^2 = z^2 and found the closest point.