« Theoretical analysis for time complexity of merge sort algorithm #C++#DSATime complexity of Merge SortT(n) = 2T(n/2) + kn T(n) = 2T(n/2) + knT(n/2) = 2T(n/4) + k(n/2)T(n/4) = 2T(n/8) + k(n/8)...T(1) = kLets solve above equations: T(n) = nlog(n)