Walmart Global Tech interview question

Top view of a binary tree