Question 14 After inserting 25 to the tree below, the root becomes 7 15 3 5 9 10 14 16 17 18 20 Selected Answer: None of
Posted: Fri May 20, 2022 4:53 pm
Question 14 After inserting 25 to the tree below, the root becomes 7 15 3 5 9 10 14 16 17 18 20 Selected Answer: None of the above 7, 15, 18 Answers: 7, 15 None of the above 7, 15, 19 Question 15 _Using Quick Sort, what will be the result of partition for (400, 40, 36, 20.78, 1, 39, 309) when we use 39 as the pivot? (make sure the order of the elements are correct in each partition) Selected Answer: L = [1, 20, 361, G = 178, 400, 40, 309) Answers: L = [20. 1,36], G = [78, 40, 400, 309) L = [20, 1, 36). G = [78.400.40, 309] L = [1, 36,20], G = 178, 400, 40,309) L-[1, 20, 36), G - 178, 400, 40, 309] Question 16 After removing 7 from the tree below, the root becomes: 7 15 3 9 10 14 16 17 18 20 Selected Answer: 9, 15