LeetCode 200: Number Of Islands — Step-by-Step Visual Trace
📰 Dev.to · tracelit
Given a 2D grid map of ''1''s (land) and ''0''s (water), count the number of islands where an island is surrounded by water and formed by connecting adjacent lands horizontally or vertically.
DeepCamp AI