(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
- Previous: (a) Write a program in C/C++/Java to perform binary search on a list of integer numbers. (b) Write a program in C/C++/Java to identify the…
- Next: (a) Compare and contrast between Quick sort and Merge sort in terms of their time and space complexity. (b) Write down a…
- All questions in BPSC Maintenance Engineer (CSE) 2021 – Written