DEV Community

Discussion on: Amazon's Interview Question: Count Island

Collapse
 
anduser96 profile image
Andrei Gatej

I think you could also solve it using Flood Fill
Algorithm, which is similar to your approach. Thank you for sharing!

Collapse
 
rattanakchea profile image
Rattanak Chea

I have no idea what Flood Fill algorithm is. Will take a look at it. Thanks