1 1 vote Arrange the following recurrence relations in increasing order of their time capacity.(A) $\mathrm{T}(\mathrm{n})=\mathrm{T}(\mathrm{n} / 2)+1$(B) $\mathrm{T}(\mathrm{n})=2 \mathrm{~T}(\mathrm{n} / 2)+\mathrm{n}$(C) $T(\mathrm{n})=3 \mathrm{~T}(\mathrm{n} / 3)+\mathrm{n}$(D) $\mathrm{T}(\mathrm{n})=2 \mathrm{~T}(\mathrm{n} / 2)+\sqrt{\mathrm{n}}$(E) $\mathrm{T}(\mathrm{n})=\mathrm{T}(\mathrm{n}-1)+1$Choose the correct answer from the options given below :$\mathrm{(E), (A), (B), (D), (C)}$ $\mathrm{(A), (E), (D), (B), (C)}$ $(\mathrm{E}),(\mathrm{A}),(\mathrm{D}),(\mathrm{B}),(\mathrm{C})$ $\mathrm{(A), (B), (D), (E), (C)}$ Algorithms goclasses algorithms goclasses-cs-dpp goclasses-cs-dpp-day-81 goclasses-algorithms-practice-questions + – GO Classes 467 views answer comment Share Follow Print 0 reply Please log in or register to add a comment.
1 1 vote all of them can be solved by just using master's theorem . the largest is C which is theta( n.logn) then B = C = theta( n.logn) then D = theta (N)... just use master theorem case ( polynomially greater) E = D = O(N) Ash24 answered Sep 11, 2025 Ash24 comment Share Follow 0 reply Please log in or register to add a comment.
1 1 vote $(A.)$ - Binary Search - $O(logn)$ $(B.)$ - Merge Sort - $O(nlogn)$ $(C.)$ - Similar to Merge Sort - $O(nlogn)$ $(D.)$ - Cant find a intuitive example, Take help of Master Theorem- $O(n)$ $(E.)$ - Simple Recursive addition - $O(n)$ $A<E=D<B=C$ amanbadone0 answered Jan 10 amanbadone0 comment Share Follow 0 reply Please log in or register to add a comment.
0 0 votes B Om Dwivedi answered Sep 11, 2025 Om Dwivedi comment Share Follow 0 reply Please log in or register to add a comment.
0 0 votes answer is B Gaurav_sharma 1 answered Sep 12, 2025 Gaurav_sharma 1 comment Share Follow 0 reply Please log in or register to add a comment.