Question
There is a BST and below is the Pre order of the BST,
What will be it’s In order 150 70 60 80 250 200 350Solution
Preorder = Root → Left → Right First element = root → 150 Remaining elements = Left (150) Left subtree of 150: 70, 60, 80 Root of left subtree = 70 Left of 70 = 60 Right of 70 = 80 Right subtree of 150: 250, 200, 350 Root of right subtree = 250 Left of 250 = 200 Right of 250 = 350 So BST structure: 150 / \ 70 250 / \ / \ 60 80 200 350 Step 3: Inorder Traversal (Left → Root → Right) Left subtree of 150 → 60, 70, 80 Root = 150 Right subtree → 200, 250, 350 Combine: 60, 70, 80, 150, 200, 250, 350 Answer (Inorder Traversal) 60 70 80 150 200 250 350
With reference to the Global Financial Innovation Network (GFIN), consider the following statements:
I.        It is a consortium of o...
What is the main objective of the Pradhan Mantri Jan Dhan Yojana?
Who among the following said, "Employee welfare means anything done for the comfort and improvement, intellectual or social, of the employees over and a...
Which Indian city was recently ranked the 12th richest city globally?
Which of the following statements is/are incorrect about the “Wholesale Price Index (WPI)”?
I.        WPI does not capture changes...
Which of the following are the key actors in industrial relations according to Dunlop's System Theory?Â
Which of the following is not included in the National Income?
Match the following correctly;
What type of economy does India have?
"ILO Conference No. 87" sometimes seen in the news is related to which of the following?