AppFolio Interview Question

Leetcode Q200: Number of Islands