An open API service indexing awesome lists of open source software.

https://github.com/justehmadsaeed/algorithm-analysis

Algorithm Analysis of Insertion sort, Merge sort and Hybrid sort
https://github.com/justehmadsaeed/algorithm-analysis

algorithm-analysis algorithm-challenges complexity hybrid insertion-algorithms insertion-sort merge-sort mergesort-algorithm

Last synced: 15 days ago
JSON representation

Algorithm Analysis of Insertion sort, Merge sort and Hybrid sort

Awesome Lists containing this project

README

          

# Algorithm Analysis

## Insertion Sort

- Takes n^2 time complexity to sort the Array
- Better for small sized arrays

## Merge Sort

- Takes n(ln(n)) time complexity to sort the Array
- Better for large sized arrays

## Hybrid Merge Sort

- Hybrid version of Merge and Insertion sort algorithm to provide better results and time complexity
- Sorts large sized arrays by **Merge Sort** until **Insertion Sort** Algorithm becomes more efficient and sorts the remaining small sized arrays by insertion sort algorithm