Amazon interview question

Relative sorting (unordered map) Bottom View of BST