Bank of America interview question

Something about a binary tree traversal