Skip to content

Comb Sort Algorithm - sorts an array of randomly generated numbers using Comb Sort and displays run time for each different array size

Notifications You must be signed in to change notification settings

jordantbui/Midterm-Project-1-CS-3310

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

Midterm Project 1 - CS 3310

Comb Sort Sorting Algorithm

10/7/2020

Jordan Bui (BroncoID: 011821368)

CPP Fall 2020

CS 3310 Design and Analysis of Algorithms

Midterm Project 1 Code Implementation

Implements the Comb Sort sorting algorithm and analyzes its complexity.

Comb Sort Sorting Algorithm

Comb sort is an algorithm that improves the bubble sort by using gaps to compare the values. The gaps are determined based on the size of the array and shrink by a factor of 1.3. This helps eliminate smaller values at the end of the list.

  • Run Times shown in nanoseconds and milliseconds for all array sizes
  • Analysis, Time Complexity, and Memory Complexity all given in comments section.

About

Comb Sort Algorithm - sorts an array of randomly generated numbers using Comb Sort and displays run time for each different array size

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages