13 13 votes Consider the following recurrence relations:For all $n>1$,\[\begin{array}{c}T_{1}(n)=4 T_{1}\left(\frac{n}{2}\right)+T_{2}(n) \\T_{2}(n)=5 T_{2}\left(\frac{n}{4}\right)+\Theta\left(\log _{2} n\right)\end{array}\]Assume that for all $n \leq 1, T_{1}(n)=1$ and $T_{2}(n)=1$.Which one of the following options is correct?$T_{1}(n)=\Theta\left(n^{2}\right)$$T_{1}(n)=\Theta\left(n^{2} \log _{2} n\right)$$T_{1}(n)=\Theta\left(n^{\log _{4} 5}\right)$$T_{1}(n)=\Theta\left(n^{\log _{4} 5} \log _{2} n\right)$ Algorithms gatecse-2026-set1 algorithms time-complexity one-mark + – gatecse 2.5k views answer comment Share Follow Print See all 2 Comments 2 2 Comments reply Prashant-G commented Jun 2 reply Follow flag Done ✅ 0 0 replyShare Aman Shukla commented Jul 15 reply Follow flag we can solve using tree substitution but from master theorm , we can easily solve it 0 0 replyShare Please log in or register to add a comment.
13 13 votes We can see that equation of T1 has T2 in it. so first lets calculate T2. (you will understand only if you know basics to use masters theorem). Mr null answered Feb 23 • moved Feb 24 by Misbah Ghaya Mr null comment Share Follow 0 reply Please log in or register to add a comment.
2 2 votes Here is the explanation ekaantsoul answered Apr 8 ekaantsoul comment Share Follow 0 reply Please log in or register to add a comment.
1 1 vote Here is the Explanation Prashant-G answered Mar 24 Prashant-G comment Share Follow 0 reply Please log in or register to add a comment.
1 1 vote devthedante answered Apr 5 devthedante comment Share Follow 0 reply Please log in or register to add a comment.
0 0 votes . soudipta_dutta answered Mar 2 soudipta_dutta comment Share Follow 0 reply Please log in or register to add a comment.
0 0 votes first option is correct Abhi_Ramg answered Jul 10 Abhi_Ramg comment Share Follow 0 reply Please log in or register to add a comment.