Function rle

Source
pub fn rle<T: PartialEq>(a: &[T]) -> Vec<(&T, usize)>
Expand description

Time complexity $O(|a|)$