Microsoft interview question

boundary tree traversal