Fig. 5From: Detecting and generating overlapping nested communitiesPseudocode of the nested community detection algorithm. Despite having three nested for loops, the algorithm only iterates over (i, k) pairs of vertices that have at least one common neighborBack to article page