← Amazon questions

Dual-Value Tree Data Structure

Filed under Amazon

Design a data structure that maintains a collection of nodes, each with a 'top' and 'bottom' value. The 'top' values must satisfy Binary Search Tree (BST) properties, and the 'bottom' values must…

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.