I'm stuck in the following problem:
I have the adjacency lists of a subgraph which is part of a complete graph. What I want to do is to apply bfs algorithm to the complement of the given subgraph. So, to do that, I need the succesors of each vertex in the complement.
What is the most efficient way to do that? The graph has a huge number of vertices and edges (~1 000 000).