Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sorting Comparison

Compare the actual runtime of common sorting algorithms on your system for various input sizes.

NOTE: For accurate results, close applications and background overheads on your system.

Install the required libraries

$ pip install -r requirements.txt

Generate a file containing random numbers which will be sorted.

$ python random_generator.py

This will create a file randoms.txt containing 1000 lines of 400 unsorted numbers separated by commas.

$ python sort_comp.py

NOTE: During code execution do not start or run other applications.

Result

Sorting Comparison

For more inference, check out, https://wp.me/pa3wrJ-a

About

Use this code to compare sorting algorithms and plot the graphs for a visual output.

Topics

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages