Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 296 Bytes

README.md

File metadata and controls

9 lines (5 loc) · 296 Bytes

Good morning! Here's your coding interview problem for today.

This problem was asked by Google.

Given a set of points (x, y) on a 2D cartesian plane, find the two closest points. For example, given the points [(1, 1), (-1, -1), (3, 4), (6, 1), (-1, -6), (-4, -3)], return [(-1, -1), (1, 1)].