← Amazon questions

Print tree boundary and efficient IP address retrieval from URLs

Filed under Amazon

Part 1: Print the boundary of a binary tree (left boundary, leaves, right boundary). Part 2: Design a system to store billions of URL-to-IP mappings using a Trie for efficient prefix-based or exact…

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.