| ▲ | kragen a day ago | |||||||
Use union-find to find connected regions on a map, not flood-fill. | ||||||||
| ▲ | zimpenfish a day ago | parent [-] | |||||||
I assume you mean "connected-component labeling" with union-find as the underlying "manage the sets" algorithm? If not, a link would be helpful. | ||||||||
| ||||||||