Recent questions tagged time-complexity

3 votes
1 answer
121
$Find \ Time \ Complexity :$ $T(n) =$ $n^{\frac{1}{3}}$ . T($n^{\frac{2}{3}}$) + $\Theta (n)$
0 votes
0 answers
122
Time Complexity in C will be O(n) right? and big omega (n) is also big omega (n^2), then why is c incorrect?
0 votes
0 answers
123
Hello, i have a algorithm and i want to prove it with induction how can i do that ?Also i want to worst case run time analyze but i am not very good please help me please...
0 votes
1 answer
125
How to solve this recurrence relationT(n)= T(0.09n) + T(0.91n) + cnwhere c is constant and T(1)=1options are-
0 votes
1 answer
127
how O($n^{2}$) in the last.(in the given solution).
1 votes
0 answers
128
Given a skew tree what will be the time complexity to balance the tree? What will be the algorithm for this?
0 votes
0 answers
129
Is it really coping operation will take O(n).Does copy is done character by character.means simple code like (in c++) for(int i=0;i<n;i++){s=s;}will take O($n^{2}$)
0 votes
0 answers
130
I am not getting the question.(Please explain me the question first).
3 votes
3 answers
132
0 votes
3 answers
133
0 votes
1 answer
137
Given ‘N’ objects, which are coloured as red, white and blue. Sort theseobjects so that objects of the same colour are adjacent, with the coloursin the order red, whi...