mfine interview question

Tree Traversal type basic question