Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
n4r9
48 days ago
|
parent
|
context
|
favorite
| on:
Project Euler
The "well known" path algorithms in this case are overkill; the graph is a tree. And Dijkstra is not really designed to handle negative edge weights (although it would probably function correctly in this instance).
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: