Trait sorting::Slowsort [] [src]

pub trait Slowsort {
    fn slowsort(&mut self);
}

This trait provides the slowsort functionality.

Required Methods

Slowsort is a humurous sorting algorithm based on the principle of multiply and surrender. The algorithm itself is of recursive nature. It finds the maximum of the sorted array, places that maximum at the end and sorts the remaining array recursively.

A detailed explanation of Slowsort can be found on Wikipedia.

Implementations on Foreign Types

impl<T: PartialOrd + Copy> Slowsort for Vec<T>
[src]

[src]

Implementors