Skip to content

SohanChoudhury/StalinSort

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Stalin Sort

The totally legit O(n) sorting algorithm. Guaranteed to work every time. In every case. No amortized cost preprocessing bulls***.

In-depth technical explanation very technical

Stalin sort is a single pass O(n) sorting algorithm. You iterate through the list of elements, checking that each element is in the desired ordering (the implementation in this repo is for sorting in an increasing order). Any element which is out of order is eliminated. In the end this gives us a sorted list.

About

The totally legit O(n) sorting algorithm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages