Function steap_by_steap::sort::msd_radix_sort_helper
source · fn msd_radix_sort_helper(
vec: &mut [String],
lo: usize,
hi: usize,
d: usize,
max_len: usize
)
Expand description
Helper function for MSD Radix Sort.
This recursive function performs the actual sorting of a subset of the strings.
Args: vec: Mutable reference to the vector of strings being sorted. lo: Starting index of the current subset. hi: Ending index (exclusive) of the current subset. d: Current digit (character position) being examined. max_len: Maximum length of any string in the original input.