K
Multiple choices 22/50
Answer (Choose 1 answer)
Study the following tree and pseudo-code:
B Traverse (Node p)
Traverse (p.right),Traverse (p.left),
Visit p
When it is applied to the tree above, order of nodes will be visited is
A. 7. 6, 5, 4, 3, 2, 1, 0
B. 0. 1. 2. 3. 4.5.6.7
C. None of the others.
D. 7. 2, 6, 0, 5, 4, 1.3
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
43 44 45 46 47 48 49 50