6,463 views

1 Answer

6 votes
6 votes

You can see the image

Related questions

1 votes
1 votes
1 answer
1
0 votes
0 votes
1 answer
2
vivek1211 asked Oct 2, 2023
288 views
T(n) = T(n^1/2) + ndoing this in substitution method gives the ans as O(n)but using tree recursion gives the ans as O(nlogn)which of these are correct and which has to be...
0 votes
0 votes
1 answer
3
practicalmetal asked Sep 15, 2023
424 views
Consider the following function:function X(n,r) { if(r==0 or n == r) then return 1; else return (X(n-1,r-1,) + X(n-1,r)); }Find the worst case time complexity of function...
0 votes
0 votes
0 answers
4
rexritz asked Aug 13, 2023
333 views
$T\left ( n \right )= 8T\left ( \frac{n}{2} \right )+\left ( n\cdot logn \right )^{2.99}$Also can $\mathcal{O}(n^{3})$ be an upper bound to above recurrence relation?