I’m searching for a good peace of code to search in a 2D Array (table) for a bit pattern?
I have a table (10x10) with values (1…5)
0000000000
0000000000
0000000000
0000000000
0000100000
0001110000
0000000000
0000000000
0000000000
0000000000
I try to find out if inside the table a bit pattern is visible like
010
111