Amazon Interview Question

Relative sorting (unordered map) Bottom View of BST