Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

sababot/sorting

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sorting

A list of the most popular sorting algorithms implemented in C++. This repo doesn't have much use but it really helps to understand the behind the scenes of many of these sorting algorithms which we use everyday.

Installation

The main script called ***sort.cpp*** which is a cli program to test all of the algorithms Each folder contains ***'algorithm'.cpp*** and can be built using "g++ main.cpp -o 'algorithm'"

Compiling

Compiling the whole repo (no makefile sorry):

g++ sort.cpp bubble/bubble.cpp comb/comb.cpp merge/merge.cpp radix/radix.cpp shell/shell.cpp bucket/bucket.cpp counting/counting.cpp insertion/insertion.cpp quick/quick.cpp selection/selection.cpp -o sort

Morty Proxy This is a proxified and sanitized view of the page, visit original site.