Skip to content

jpountz/sorts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sorts

Versatile sorting algorithms that allow for sorting any kind of read/write random-access data-structure. The simplest implementations only require you to override two methods:

  • compare(slot1, slot2),
  • swap(slot1, slot2).

Available sorting algorithms:

  • Introsort (improved quicksort),
  • Merge sort,
  • Tim sort (improved merge sort for partially-sorted data),
  • Heap sort, on both binary and ternary heaps.

About

Versatile sort algorithm implementations.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages