HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by ondra | Hacker News Reader
Parent
Full thread
ondra
·
No, all-pairs shortest path problem is in P as well.
View on HN
jws
·
I spoke too loosely. Shortest path traversing all nodes is NP (traveling salesman). Obviously shortest path between each pair of nodes is going to be polynomial since the number of pairs is polynomial.
Reply on news.ycombinator.com