← Amazon questions

Find shortest path between two profiles using friend list API

Filed under Amazon

Given a function to retrieve friends of a profile, implement a function to find the shortest path between two given profiles using graph traversal.

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.