Amazon Interview Question

Find the largest batch of x’s in a 2D array