Design Optimal Data Structure for Hierarchical Post Offices
Filed under Amazon
The question
Design an optimal data structure to support inserting post office entries ordered by Country, State, City, Town, Name, and querying all post offices within a given region hierarchy.
No write-up yet. Related questions below have one.
Related Amazon questions
Collected from public candidate posts and coding forums. Updated Nov 2026.