Question

You are given a problem to find the shortest path in a graph where edge weights can be negative. Which algorithm would you *not* use?

A Bellman-Ford
B Floyd-Warshall
C Dijkstra's Algorithm
D SPFA (Shortest Path Faster Algorithm)
E A* Search (with appropriate heuristic)
Practice Next

Hey! Ask a query

🎓
Think You're Ready for RBI Grade B?
RBI Grade B 2026 Phase 1 Memory Based Paper
  • 200 Questions with Detailed Solutions
  • Section-wise Coverage (GA, English, Quant & Reasoning)