Veeva Systems interview question

Binary tree problem (be familiar with BFS and DFS)