Which traversal method visits the nodes of a binary tree in the order: Left, Root, Right?
25 views
- Preorder
- Inorder (Correct Answer)
- Postorder
- Level-order
Explanation
Inorder traversal of a binary tree visits nodes in the sequence Left subtree → Root → Right subtree, commonly used to retrieve data in sorted order for BSTs.