Paytm Money interview question

View of a binary tree