Nil Mamano
AboutResearch
Feed
← All posts
September 26, 2025

New blog post!

A look at how the different strengths of DFS and BFS help us push the space complexity for the classic "Counting Islands in a Grid" problem from O(R*C) to O(min(R, C)) to O(1).

Link below.


nilmamano.com/blog/counting-islands


The post even lists an open problem I couldn't quite work out.


My conjecture was wrong. Follow-up: x.com/Nil053/status/1979287606228848705

Discuss on X ↗ Discuss on LinkedIn ↗

© 2025 nilmamano.com. All rights reserved. Privacy policy

HomeAbout🟧RSS