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.