TestMu AI Interview Question

Writing the code for bottom view of binary tree?