Comment

Comment by spritefs

> 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

parent spritefs 3 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton