Number of Islands

 

200. Number of Islands

Solutions

Each 1-tile should mark any 1-neighbours of it The idea is similar to painting game for child.