Skip to content

Sorting project created for my Data Structures and Algorithms course [Grade: 100%]

Notifications You must be signed in to change notification settings

evinbg/Sorting-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sorting Project

This project was created for my Data Structures and Algorithms course. It creates randomized arrays of integers and implements the insertion sort, quicksort, and heapsort algorithms.

Functions

  • Creates randomized arrays of sizes: 100, 1000, 5000, and 10000
  • Sorts the arrays with insertion sort
  • Builds max heaps of the arrays
  • Sorts the arrays with heapsort
  • Sorts the arrays with quicksort using the median of 3 and insertion sort at a certain cutoff version of the algorithm
  • Shows the number of comparisons and swaps each implementation of the sorting algorithms use

Grade Received

100% (30/30)

Compiling Instructions

I created this project on Microsoft Visual Studio 2022, so creating a new empty C++ project and inserting the files into the Source Files should allow the code to run in Visual Studio.

I also included a makefile, so the code can run on the Linux command line. The command to run the code is make run.

About

Sorting project created for my Data Structures and Algorithms course [Grade: 100%]

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published