one fable-low hijack cell
pair island / kotlin
envelope code_pipe_pipe
ordering BA
effort low
Code-flavored OR operator — '{X} || {Y}'
verdictpicked kotlin (second-offered)
· classifierB
· tiernone
response (200 chars)
# Number of Islands — Kotlin
Classic LeetCode problem (#200): count islands in a grid of `'1'` (land) and `'0'` (water).
## DFS Solution
```kotlin
class Solution {
fun numIslands(grid: Array<Ch
neighbors