---
title: "Discussion on \"LeetCode 200: Number Of Islands — Step-by-Step Visual Trace\" | Hashnode"
description: "Discussion on \"LeetCode 200: Number Of Islands — Step-by-Step Visual Trace\". 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."
url: "https://hashnode.com/posts/number-of-islands-visualization/69d7d2691cf15606b2600940"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [LeetCode 200: Number Of Islands — Step-by-Step Visual Trace](https://blog.tracelit.dev/number-of-islands-visualization?utm_source=hashnode&utm_medium=feed)

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.

Apr 9 · 2 min read · blog.tracelit.dev  
Read the article

-   [#algorithms](https://hashnode.com/tag/algorithms)
-   [#leetcode](https://hashnode.com/tag/leetcode)

## Written by

[tracelit](https://hashnode.com/@tracelit)

@tracelit

  
[View profile](https://hashnode.com/@tracelit)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
