fn find_shortest_distance(arr: &[Option<f32>]) -> Option<f32>