Computer Science, asked by naseermak447, 1 year ago

Explain Best case analysis using example.

Answers

Answered by AryaPriya06
0

Most of the other sorting algorithms have worst and best cases. For example, in the typical implementation of Quick Sort (where pivot is chosen as a corner element), the worst occurs when the input array is already sorted and the best occur when the pivot elements always divide array in two halves.

Similar questions