Question

Using Dijkstra's algorithm on a graph with edges A-B(4), A-C(1), C-B(2), B-D(1), C-D(5), what is the shortest distance from A to D?

A 4
B 5
C 6
D 3
E 7
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)