โ† Amazon questions

Transitive connection check

Filed under Amazon

Given a list of connection statements (e.g., '1 connected to 2', '2 connected to 3'), determine if two arbitrary nodes i and j are connected.

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.