3 ms·The OP said he knows graph theory, it should be trivial for him then.by tootlol 15y agoThe OP said he knows graph theory, it should be trivial for him then.