Sorting Method | Best Case | Worst Case | Average Case |
---|---|---|---|

Selection Sort | O(n²) | O(n²) | O(n²) |

Bubble Sort | O(n²) | O(n²) | O(n²) |

Insertion Sort | O(n) | O(n²) | O(n²) |

Quick Sort | O(n log n) | O(n²) | O(n log n) |

Merge Sort | O(n log n) | O(n log n) | O(n log n) |

Shell Sort | O(n) | O(n²) | O(n²) |

Radix Sort | O(n) | O(n) | O(n) |

## 0 Comments:

Post a Comment