← Amazon questions

Find K closest pickup agents and string transformation

Filed under Amazon

Given a list of pickup agent coordinates and a target location, find the K closest agents using Euclidean distance. Also, determine if a target string s2 is reachable from s1 by changing one letter at…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Amazon questions

Collected from public candidate posts and coding forums. Updated Nov 2026.