Hi Friends!
If I have number of arrays with fixed size (15), it consist of zeros and non-zeros.
eg:
array1[15]={5,5,0,0,4,4,4,0,0,0,1,0,0,0,3}
array2[15]={1,0,0,0,0,7,7,0,0,3,0,0,0,0,2}
array3[15]={6,6,6,0,8,8,8,0,0,0,3,3,0,0,4}
...........
How can I count the common zero sequences and there indexes of arrays?
sample output for the above arrays:
Index Nim_of_zeros
3 1
7 2
12 2
Can any one help me to write a program for the above problem?