- #1
TaPaKaH
- 54
- 0
Homework Statement
Show that the following problem is NP-complete:
Given: A directed graph ##G=(V,E)##, source and target nodes ##s,t\in V## and a parameter K.
Goal: Determine whether there exists a simple ##s,t##-path in ##G## of length at least ##K##.
The Attempt at a Solution
I've already shown that the problem is in NP, but I can't come up with a poly time reduction from a known NP-complete problem. Any ideas welcome.