Skip to content

wskaggs/sorting-algorithm-runtime-visualization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sorting Algorithm Runtime Comparison

The runtime complexity of merge sort is $\theta(nlog(n))$; insertion sort, on the other hand, has a runtime complexity of $O(n^2)$. As such, we know that merge sort will be faster than insertion sort for large input sizes. However, it turns out that insertion sort is faster for very small input sizes. The objective of this project is to determine the largest input size for which insertion sort is faster than merge sort using experimental data.

About

Comparison and visualization of sorting algorithm runtimes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages