November 26, 2023Data-StructuresQuestion 1 A binary search tree T contains n distinct elements. What is the time complexity of picking an element in T that is smaller than […]
November 26, 2023Binary-search-treeQuestion 6 Suppose the numbers 7, 5, 1, 8, 3, 6, 0, 9, 4, 2 are inserted in that order into an initially empty binary search […]
November 26, 2023Binary-search-treeQuestion 9 The following numbers are inserted into an empty binary search tree in the given order: 10, 1, 3, 5, 15, 12, 16. What is […]
November 26, 2023GATE 2005Question 35 How many distinct binary search trees can be created out of 4 distinct keys? A 5 B 14 C 24 D 42 Data-StructuresBinary-Search-Tree Question […]