Skip to content

czarandy/shellsort

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Sample implementation of the famous Shellsort:

  http://en.wikipedia.org/wiki/Shellsort

This has always been one of my favorite algorithms. A timing test is included, comparing it to std::sort(), which typically uses a variant of quicksort and soundly trounces it.

Compile with:

  g++ -std=c++0x -O3 test.cpp

About

Simple implementation of shellsort

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages