From the following code identify the which traversal of a binary tree is this…
PYQ Hexaware Hiring Assessment 2025
From the following code identify the which traversal of a binary tree is this __________
//if node has left child
order(node.left)
//if node has right child
order(node.right)
visit(node)
- A.
Inorder traversal
- B.
preorder traversal
- C.
postorder traversal
- D.
Euler tour traversal
Attempted by 413 students.
Sign up free to check your answer
Sign up freeLoading lesson…

