Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.
/ stalin-sort Public archive

Stalin sort is a simple and fast sorting algorithm which simply removes elements that are out of order

License

Notifications You must be signed in to change notification settings

malhwiu/stalin-sort

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stalin sort

Stalin sort is a simple and fast sorting algorithm which simply removes elements that are out of order

How to:

Add dependency

[dependencies]
stalin_sort = { git = "https://github.com/malhwiu/stalin-sort.git", version="0.1.0" }

Use

use stalin_sort::stalin_sort;

array = stalin_sort(array, true);

array must be mutable!

About

Stalin sort is a simple and fast sorting algorithm which simply removes elements that are out of order

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages