↶ lobby  ·  fable  ·  hijack  ·  en_pipe  ·  island / kotlin · AB

one fable-low hijack cell

pair island / kotlin envelope en_pipe ordering AB effort low
English with pipe '|' — '{X} | {Y}'
verdictpicked island (first-offered)  ·  classifierA · tiernone

response (200 chars)

# Number of Islands in Kotlin

A classic problem: count islands in a 2D grid where `'1'` is land and `'0'` is water (connected horizontally/vertically).

## DFS Solution

```kotlin
fun numIslands(grid

neighbors

ordering BAenvelope code_caret (AB)envelope code_haskell_alt (AB)envelope code_pipe_pipe (AB)envelope de_oder (AB)envelope en_arrow (AB)envelope en_bare_or (AB)envelope en_bare_or_p (AB)envelope en_bare_or_q (AB)anchor view all 60 cells across efforts × anchors