retagged by
383 views
0 votes
0 votes

Will the complexity of the function be $\Theta n^{2} or \Theta n^{3}?$

retagged by

Please log in or register to answer this question.

Related questions

0 votes
0 votes
0 answers
1
Akash Kanase asked Jan 15, 2016
397 views
I got that Statement 3 can be false in case we have function 1/n, then its square become 1/n^2. But I don't think statement 2 is true either. Please prove whether I'm cor...
1 votes
1 votes
2 answers
2
Nitesh_Yadav asked Apr 11, 2022
274 views
What is the time complexity of the below mentioned recursive function.int f(n){ if(n!=1){ return f(n/2)+f(n/2);}elsereturn 10;} O(n)O(n^2)O(log n)O(n logn)
0 votes
0 votes
1 answer
3
raja11sep asked Jan 15, 2022
860 views
Can anyone explain each option, for every option if it is true then why? If false then why? (Please don’t comment like answer is A,B etc) Please help
2 votes
2 votes
2 answers
4
LRU asked Oct 15, 2021
644 views
Consider an array contains n integers, each integer belongs to {0, 1, 2}. What is the best case time complexity to sort an array?