pub fn merge_sorted(left: &[f64], right: &[f64]) -> Vec<f64>
Merge two sorted slices into a single sorted Vec.
Standard two-pointer merge — O(n + m).