Q1. What are the theta values for the recurrences given below in :
(1) T(n) = T((8/10)n) + n
(2) T(n)=5T(n/5) + n^2
(3) T(n) = T(n-2) +2n
Used master's theorem to solve 1,2 questions and solved 3 using substitution method.
Get Answers For Free
Most questions answered within 1 hours.