1,321 views
1 votes
1 votes
Consider the modified merge sort where we divide array into 5 equal sub arrays instead if 2(as in standard merge sort).What is the time complexity if modified merge sort? Is there any improvement over standard merge sort?

1 Answer

0 votes
0 votes

if we want to divide the array in 5 sub array then  recurrence relation become

T(n) =5T(n/5)+n.

it will also take o(nlogn) which is asymptotically equal.

Related questions

0 votes
0 votes
3 answers
1
aditi19 asked Oct 6, 2018
1,153 views
what is the recurrence relation for merge sort?
1 votes
1 votes
0 answers
2
0 votes
0 votes
0 answers
3