Google Interview Question

What is the time complexity of sorting an array using merge sort?

Interview Answer

Anonymous

Jan 22, 2025

The time complexity of sorting an array using merge sort is š‘‚ ( š‘› log ⁔ š‘› ) O(nlogn), where š‘› n is the number of elements in the array