Hacker News new | past | comments | ask | show | jobs | submit login

> Bellman-Ford is optimal for positive edge only.

???

CLRS says it takes negative weight edges (just no negative cycles) and does it in O(VE). I have no idea where you're getting this from




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: