Hello to everybody,
I'm preparing for a competition in Informatics and I had difficulty with the following task:
You should find a path with the greatest number of points(vertices) in a graph.
/The graph has no cycles in it - it's a tree./
Can you write down the code or explain to me how to do it?
Thank you in advance!