fn map_with_unsorted_ranges(
    haystack: &[u16],
    other: &[u16],
    needle: u16
) -> Option<u16>