aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Algorithms - GATE Previous Year Questions
  • Dijkstra's single source shortest path algorithm when run...
Multiple choice

Dijkstra's single source shortest path algorithm when run from vertex a in the above graph, computes the correct shortest path distance to

  1. only vertex a

  2. only vertices a, e, f, g, h

  3. only vertices a, b, c, d

  4. all the vertices

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Keep practicing — related questions

  • Consider the directed graph shown in the figure below. There are multiple shortest paths between vertices S...
  • Suppose we run Dijkstra's single source shortest-path algorithm on the following edge-weighted directed gra...
  • Let G = (V,E) be an undirected graph with a subgraph G1 = (V1, E1). Weights are assigned to edges of G as f...
  • Let G = (V,E) be an undirected graph with a subgraph G1 = (V1, E1). Weights are assigned to edges of G as f...
  • Which of the following statements is correct about the microprocessor of a computer?
  • Select the option which gives the correct descending order of the memory in a computer in terms of speed?
  • Which of the following algorithms uses a hashing function to compute the public keys in cryptography?
  • Which of the following is an example of a single user computer system?
Play the full quiz 🎤 Practise this topic out loud
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy