We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Walking the Approximate Longest Path
Walking the Approximate Longest Path
Sort by
recency
|
17 Discussions
|
Please Login in order to post a comment
I couldn't understand the sentence in Editorial.
If I could find an arbitrary permutation that fits in a ucg like the problem statement, wouldn't this permutation be the longest path?
What does it mean by p^-1(x) < p^-1(y) ?
Here is problem solution in Python Java c++ and c programming - https://programs.programmingoneonone.com/2021/07/hackerrank-walking-the-approximate-longest-path-problem-solution.html
sttill now i dont solve it 100%. so if one complete it so let me inform me . and please explain the map are given in the question.
How is this an NP Complete question? Can it be solved in polynomial time complexity? Can it be reduced to any other NP Hard problem?
i am unabling to understand the question properly.. please eleborate this