โ Amazon questionsK Closest Stars from Large Coordinates
Filed under Amazon
Given coordinates of a billion stars, find the k closest stars to the origin (0, 0, 0). The dataset is too large to fit in RAM.
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.
Collected from public candidate posts and coding forums. Updated Nov 2026.