Largest Cross in a 2D Boolean Array

#1

Can someone help me to identify center of the largest cross in a 2D array: -

0110
1111
1010
0010

e.g. the point in the above array would be [2, 2] with [0, 0] be the bottom left. It would be like the largest square in a 2D array problem with some optimisations to identify a cross.

0 Likes

#2

Hey @apro,

I think you are right one this problem, and I wonder what the exact question you wanna ask?

0 Likes