Wipro interview question

In-order traversal