arbteylim / Publications
Forum
How to Find an Array in Array?
Warning: Rookie alert. Suppose we have a custom array of say 1's and 0's. Is it possible to lookup for an array of pattern inside that array? How do we translate that into a code? e.g. MyArray[] = {0,1,1,0,0,1,0,0,1,0,1,0,0,1,0,0,0,1,1,1,1,0,0...} //customized array PatternArray[5] = {1,0,1,0,1}