Which sorting algorithm will take least time when all elements of input array are identical?

Which sorting algorithm will take least time when all elements of input array are identical?

1 Like

"Insertion Sort" is the sorting algorithm which will take least time when all elements of input array are identical.