โ† Moonfrog Labs questions

Modified Number of Islands

Filed under Moonfrog Labs

The question

Count the number of islands in a grid, with a modification to replace all 1s in each island with the count of 1s in that island, optimizing space complexity.

No write-up yet. Related questions below have one.

Related Moonfrog Labs questions

Collected from public candidate posts and coding forums. Updated Nov 2026.