On the other hand, it does not make sense. I still think that the greedy solution will work; if you keep a selection of vertices with at least an average degree, it seems to me that you will get most of the common edges by the end. But I'm not sure about the proof.
source
share