GATE | GATE CS 1997 | Question 30
A binary search tree contains the values 1, 2, 3, 4, 5, 6, 7, 8. The tree is traversed in pre-order and the values are printed out. Which of the following sequences is a valid output?
(A) 53124786
(B) 53126487
(C) 53241678
(D) 53124768
Answer: (D)
Explanation:
Quiz of this Question
Please comment below if you find anything wrong in the above post
Recommended Posts:
- GATE | GATE CS 1997 | Question 55
- GATE | GATE CS 1997 | Question 49
- GATE | GATE CS 1997 | Question 48
- GATE | GATE CS 1997 | Question 47
- GATE | GATE CS 1997 | Question 46
- GATE | GATE CS 1997 | Question 41
- GATE | GATE CS 1997 | Question 54
- GATE | GATE CS 1997 | Question 53
- GATE | GATE CS 1997 | Question 52
- GATE | GATE CS 1997 | Question 51
- GATE | GATE CS 1997 | Question 50
- GATE | GATE CS 1997 | Question 46
- GATE | GATE CS 1997 | Question 45
- GATE | GATE CS 1997 | Question 44
- GATE | GATE CS 1997 | Question 36



