Question 46 Which of the following statements is true? I. As the number of entries in a hash table increases, the number of collisions increases. II. […]
Question 8 Consider the following recursive function: function fib (1:integer);integer; begin if (n=0) or (n=1) then fib:=1 else fib:=fib(n-1) + fib(n-2) end; The above function is […]
Question 6 Which one of the following is the tightest upper bound that represents the number of swaps required to sort n numbers using selection sort? […]