Count the islands of land that are completely surrounded by water — the ones that never touch the edge of the grid.
Count the islands of land that are completely surrounded by water — the ones that never touch the edge of the grid.
Opens with the full question.