Number of Islands

Given a grid of '1' and '0', return the number of islands.

Examples
Input: ["11110","11010","11000","00000"]
Output: 1
Hints
Related Problems

Number of Islands

Given a grid of '1' and '0', return the number of islands.