Re: Longest path



On Mar 30, 9:34 pm, "Mahdi" <mahdi.dabest...@xxxxxxxxx> wrote:
Hello!
We have a graph that is not directional. We want an algorithm to find
out if this graph is divided to two parts or not.

can anyone help me solve these two problems ?

.