pub fn longest_common_subsequence<T: PartialEq>( a: &[T], b: &[T], ) -> Vec<(usize, usize)>
A longest common subsequence of a and b as pairs of matched indices (i in a, j in b).
a
b
(i in a, j in b)