Почему операция слияния в сортировке слиянием является O (n)?
For merge-sort divide and conquer operations, how much time is required in bottom up merging phase? My instructor says that it is be linear, hence it will be O(n)
. But I didn't get it. How will it be linear?
Как операция слияния будет линейнойO(n)
?