Computer Science, asked by hermione370, 1 year ago

What sorting algorithm have worst time and best time complexity same?

Answers

Answered by pramukh0504
0

Sorting algorithms

Algorithm Data structure Time complexity:Best

Merge sort Array O(n log(n))

Heap sort Array O(n log(n))

Smooth sort Array O(n)

Bubble sort Array O(n)


Similar questions