Algorithm 101 : Finding all polygons in an undirected graph

I was trying to make a simple random world generator for a geopolitical game yet to be done. I needed continent divided into territories and sea territories between them. I didn’t know at that point that I would solve a known mathematical problem.

Continue reading “Algorithm 101 : Finding all polygons in an undirected graph”