(a) Draw the binary search tree for the following elements and write the output of In-order, Preorder and Postorder traversal. 1, 2, 3, 4, 5 (b)…
(a) Draw the binary search tree for the following elements and write the output of In-order, Preorder and Postorder traversal.
1, 2, 3, 4, 5
(b) Explain the advantages and disadvantages of Linked lists over arrays.
From the BPSC Senior Computer Operator (ICT) September 2022 – Written exam, question 1 of 8.