Question

Which of the following graph algorithms is designed specifically to accept negative edge weights? Check all...

Which of the following graph algorithms is designed specifically to accept negative edge weights? Check all that apply.

a.

topological sort

b.

Dijkstra's algorithm

c.

Bellman-Ford algorithm

d.

unweighted shortest path algorithm

0 0
Add a comment Improve this question Transcribed image text
Answer #1

(c) Bellman-Ford Algorithm.

Bellaman-Ford Algorithm is specially designed for negative weights which could be done in Dijkstra's algorithm. But it doesn't support negative weight cycle.

Bellman-Ford and Dijkstra work for weighted graphs.

Topological sort works only for acyclic graphs and weights may be negative.

But Bellman-Ford Algorithm is the one which is specifically designed to accept negative edge weights.

Add a comment
Know the answer?
Add Answer to:
Which of the following graph algorithms is designed specifically to accept negative edge weights? Check all...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT