Vedantu interview question

Top View of Binary Tree