Skip to main content

k_way_merge

Function k_way_merge 

Source
pub fn k_way_merge(slices: &[Vec<f64>]) -> Vec<f64>
Expand description

K-way merge of multiple sorted slices using a min-heap approach.

Each input slice must already be sorted.