October 12, 2023AlgorithmsQuestion 1 Let P be an array containing n integers. Let t be the lowest upper bound on the number of comparisons of the array elements, […]
October 12, 2023GATE 2022Question 11 Which one of the following statements is TRUE for all positive functions f (n) ? A f ( n ^2 ) ( f ( […]
October 12, 2023HashingQuestion 7 Suppose we are given n keys, m hash table slots, and two simple uniform hash functions h 1 and h 2 . Further suppose […]
October 12, 2023Binary-search-treeQuestion 8 Suppose a binary search tree with 1000 distinct elements is also a complete binary tree. The tree is stored using the array representation of […]