Function steap_by_steap::sort::Shell

source ·
pub fn Shell(arr: Vec<i32>) -> PyResult<Vec<i32>>
Expand description

Sorts the array using the Shell Sort algorithm.

§Arguments

  • arr - The array to be sorted.

§Returns

The sorted array.