STMicroelectronics interview question

Tree Traversal - Inorder, Preorder & Postorder