Diagnostic Quiz
Problems
3. Recursive linear seach
The question itself is trivial, it mainly wants to test you whether the two bounds are inclusive or not.
For the third option
Since n
should be exclusive, so this option is incorrect.
13. The best case runtime for insertion sort
Given that a list is sorted in increasing order already. The running to for insertion sort will be .
Last updated