I have a 2D array and i am trying to look for Similarities in the data, via number patterns.
For Example:
1) 3,4,5,6,7
2) 1,4,8,23,56
3) 14,15,16,34,45
Now what i would like to do is search this array to find patterns like in example 1. it goes 3,4,5,6,7 or in 3. it goes 14,15,16.
I have no clue how to start this if anyone could point me in the right direction that would be great!