Question DSA-TREE-0028
EasyA binary tree has root 1. Node 1's children are 2 (left) and 3 (right), and node 2's children are 4 (left) and 5 (right). What is its level-order traversal?
- A.
1 2 3 4 5
- B.
1 3 2 5 4
- C.
4 5 2 3 1
- D.
1 2 4 5 3
Sign up free to see the answer and a step-by-step explanation.