Google Interview Question

Medium level difficulty leetcode, ie. number of islands