Innovaccer Interview Question

top view of binary tree