79138410

Date: 2024-10-29 17:57:23
Score: 2
Natty:
Report link

Yes, by making sure the graph is having only two vertices and a single edge. In this case you need not to make any modifications to bellman ford algorithm and it will always gives the shortest distance in a single iteration.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: vinter