logo
pub fn linear_search<T>(arr: &[T], target: &T) -> Option<usize> where
    T: PartialEq
Expand description

Linear search.