Google Interview Question

Find water vs land on a grid