Lab 05

CSCI 1913 – Introduction to Algorithms, Data Structures, and Program Development

Sort algorithm comparison

In this lab you are provided with the implementation of three sort algorithms:

You need to add a count variable to count how many iterations each of these take to sort the same list.

Create visualizations

  • Data (csv) files are generated when you run make_sorts_data.py
  • Based on the numbers in the csv files, you will create plots (image files) in the software of your choice, or by hand, that show the behavior of the different sorting algorithms under the different lists

Document your Code!

  • Add docstrings to every function
  • Add at least one in-line comment in each function