Find the closest point in O(logN) complexity? | Hacker News Reader