This lab is designed to analyze a series of sorting algorithms and compare running times. Done for my Algorithms and Data structures II class.
Objectives, specifications, and details can be found at Sorting_Lab_Objectives.pdf (Included in this repository)
These instructions are intended for Linux & Mac Users. It should be done within the terminal
Windows users should install WSL and conduct the deployment of this application within the terminal of that system.
-
Ensure that you have pip installed
- Linux: First check with
pip --version
. If an error occured, runsudo apt-get install python3-pip
Note thatapt-get
may need to be changed depending on what package manager you are using. - Mac: Follow this guide
- Linux: First check with
-
Use pip to install numpy by inputting
python3 -m pip install numpy
into the terminal. -
Run the program via the terminal by inputting
python3 sorting[ID_REDACTED].py
, or use an IDE of your choice.
Compiled in a Linux Mint environment using python version 3.8.10