Asana interview question

K nearest elements to a starting point