i think kmp in 2-D can help.
On Fri, Apr 8, 2011 at 10:33 PM, RIDER wrote:
> if there is a matrix A[][] of order m and another matrix B[][] of
> order n such that (m>n) you have to find the occurance of matrix B[][]
> in matrix A[][].
>
> A[5][5]=1,2,3,4,5
> 5,4,1,9,7
> 2,1,7,3,4
> 6,4,8,2,7
> 0
if there is a matrix A[][] of order m and another matrix B[][] of
order n such that (m>n) you have to find the occurance of matrix B[][]
in matrix A[][].
A[5][5]=1,2,3,4,5
5,4,1,9,7
2,1,7,3,4
6,4,8,2,7
0,2,4,5,8
B[3][3]=1,9,7
7,3,4
8,2,7
--
You received this message because you are subscribed t