CodingEasy
Nearest neighboring cities
Filed under Cloudera
The question
Given a set of cities with their coordinates and queries, identify the nearest neighboring city sharing an x or y coordinate.
No write-up yet. Related questions below have one.
Related Cloudera questions
Collected from public candidate posts and coding forums. Updated Nov 2026.