Algorithms | Sorting | Question 15

Last Updated :
Discuss
Comments

Which sorting algorithm will take least time when all elements of input array are identical? Consider typical implementations of sorting algorithms.

Insertion Sort

Heap Sort

Merge Sort

Selection Sort

Share your thoughts in the comments