McqMate

Q. |
## Master’s theorem is used for? |

A. | solving recurrences |

B. | solving iterative relations |

C. | analysing loops |

D. | calculating the time complexity of any code |

Answer» A. solving recurrences | |

Explanation: master’s theorem is a direct method for solving recurrences. we can solve any recurrence that falls under any one of the three cases of master’s theorem. |

4.4k

0

Do you find this helpful?

38

View all MCQs in

Design and Analysis of AlgorithmsNo comments yet

- How many cases are there under Master’s theorem?
- What is the result of the recurrences which fall under second case of Master’s theorem (let the recurrence be given by T(n)=aT(n/b)+f(n) and f(n)=nc?
- 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?
- We can solve any recurrence by using Master’s theorem.
- Under what case of Master’s theorem will the recurrence relation of merge sort fall?
- Under what case of Master’s theorem will the recurrence relation of stooge sort fall?
- Which case of master’s theorem can be extended further?
- 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?
- Under what case of Master’s theorem will the recurrence relation of binary search fall?
- Which theorem gives the relation between the minimum vertex cover and maximum matching?