Morgan Stanley interview question

This was a coding question based on binary trees

Interview Answer

Anonymous

Aug 20, 2019

I answered the logic and a pseudo code