in Algorithms
300 views
0 votes
0 votes

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.

Thank you so much!

 

in Algorithms
by
300 views

3 Comments

Here , there is no base case . then how we decide where this algorithm will stop?? if third<1 ?? .. i think queston is iscomplete ..
0
0

Here the base case is if(min<max)

0
0
The time complexity is theta(n).

Recurrence relation for time:

T(n) = 3T(n/3) + c where c is constant and T(n) is the time to sort n elements using NancySort.
0
0

Please log in or register to answer this question.

Related questions