Number of Islands
Given a 2D grid grid where '1' represents land and '0' represents water, count and return the number of islands.
Check more interview questions and experiences about Apple
Given a 2D grid grid where '1' represents land and '0' represents water, count and return the number of islands.
Check more interview questions and experiences about Apple
Please log in to view interview question details