Innovaccer interview question

top view of binary tree