Krayonnz interview question

Top view of binary tree