Multiple-choice questions written from each lecture. Pick an answer to see why it is right and the moment it comes from.
0/8 correct · 0 of 8 answered
What advantage does selecting a hash function at random from a large family provide?
What is the minimum height required for a binary decision tree that represents any comparison‑based sorting algorithm on n items?
What lower bound does the comparison model impose on the running time of sorting n items?
When does a direct‑access array sort run in linear time?
In radix sorting, which digit is considered the most significant?
What property must a sorting algorithm have to correctly combine results from sorting by less significant digits after sorting by more significant digits?
What is the time complexity of radix sort that uses counting sort on each digit and processes all digits?
How many base‑n digits are needed to represent a number up to u?