Please fill out this quiz, and press the "Submit" button at the end. Don't collaborate with anyone on quiz exercise solutions.
Please answer all questions.
SID: [No spaces and no dashes.]
Login ID :
1. We say that an algorithm runs in polynomial time if there exists some constant c>0 so that the algorithm's running time is at most O(n^c), where n denotes the length of the input to the algorithm.
Does mergesort run in polynomial time? Yes or no. In a sentence or less, explain why or why not.
Are we guaranteed that the total running time of A (including all of the time spent on its calls to subroutine B) is polynomial? Yes or no. Explain why or why not.