Skip to content

LightBounded/sorting-algorithms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sorting Algorithms

This repo contains the implementation of five common sorting algoritms: bubble, selection, insertion, quick, and merge sort.

I've created c programs for each one asking for an input $n$ representing the length of the array that will be randomly generated, which will then be sorted using the algorithm in the file name of the program.

Get Started

To use this project, simply compile one of the programs using gcc and run the executable.

Example

gcc quick-sort.c # Compile program
./a.out          # Run executable
Input Output
10

Before: 33 33 55 13 53 57 9 31 45 95
After: 9 13 31 33 33 45 53 55 57 95

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages