(a) Compare and contrast array and linked list. (b) Draw a binary tree of 5 elements. Now list out the elements in (i) Pre-order (ii) Post-order and…

(a) Compare and contrast array and linked list.

(b) Draw a binary tree of 5 elements. Now list out the elements in (i) Pre-order (ii) Post-order and (iii) In-order traversal of the tree.

From the BPSC Maintenance Engineer (CSE) 2021 – Written exam, question 2 of 8.

More from this paper