On Sunday, 16 July 2017 at 10:37:39 UTC, kerdemdemir wrote:
My goal is to find connected components in a 2D array for example finding connected '*'
chars below.

You can also use a queue to avoid recursion that should improve performances and readibility.

Probably using ndslice library could help you!


Reply via email to