I am looking for an approximation algorithm for the next task - I have an unweighted, undirected graph with loops and you want to find the longest path starting with the given node. I really rate speed over performance (so the O (n ^ 5) algorithm is likely to be redundant).
This is not homework (I swear!) Or work, but I will be grateful for any advice that you may have.
algorithm graph path
r0u1i
source share