October 10, 2023Data-StructuresQuestion 20 A priority queue Q is used to implement a stack that stores characters. PUSH (C) is implemented INSERT (Q, C, K) where K is […]
October 10, 2023Nielit Scentist-B [02-12-2018]Question 2 ___ number of leaf nodes in a rooted tree of n nodes, where each node is having 0 or 3 children. A n/2 B […]
October 11, 2023Data-StructuresQuestion 23 Let A be a two dimensional array declared as follows: A: array [1 ... 10] [1 ... 15] of integer; Assuming that each integer […]
October 11, 2023Data-StructuresQuestion 26 Draw the binary tree with node labels a, b, c, d, e, f and g for which the inorder and postorder traversals result in […]