I have N different arrays with different numbers of elements. I want know if there is a good algorithm to find same sequences of values.
For example:
a= 1,2,3,4,5,6,7,8
b= 9,10,13,5,6,7,13,12
c= 20,36,24,11,2,3,5,6,7,9,11
I want, as result, that all the three arrays have the sequence 5,6,7 in common. Any suggestion?