Function steap_by_steap::sort::Merge

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

Sorts the array using the Merge Sort algorithm.

§Arguments

  • arr - The array to be sorted.

§Returns

The sorted array.