Design and Analysis of Algorithms MCQs | Page - 4
Dear candidates you will find MCQ questions of Design and Analysis of Algorithms here. Learn these questions and prepare yourself for coming examinations and interviews. You can check the right answer of any question by clicking on any option or by clicking view answer button.
M
Q. What is the result of the recurrences which fall under third case of Master’s theorem (let the recurrence be given by T(n)=aT(n/b)+f(n) and f(n)=nc?
M
Q. We can solve any recurrence by using Master’s theorem.
M
Q. Under what case of Master’s theorem will the recurrence relation of merge sort fall?
M
Q. Under what case of Master’s theorem will the recurrence relation of stooge sort fall?
M
Q. Which case of master’s theorem can be extended further?
M
Q. What is the result of the recurrences which fall under the extended second case of Master’s theorem (let the recurrence be given by T(n)=aT(n/b)+f(n) and f(n)=nc(log n)k?
M
Q. Under what case of Master’s theorem will the recurrence relation of binary search fall?
M
Q. What is the worst case time complexity of KMP algorithm for pattern searching (m = length of text, n = length of pattern)?
M
Q. What is the time complexity of Z algorithm for pattern searching (m = length of text, n = length of pattern)?
Jump to