haar_
lib
0.1.0
In haar_
lib::
algo::
rle
haar_lib
::
algo
::
rle
Function
rle
Copy item path
Source
pub fn rle<T:
PartialEq
>(a: &
[T]
) ->
Vec
<(
&T
,
usize
)>
Expand description
Time complexity
$O(|a|)$