GATE CS 2006 · Shortest Path - Algorithm Mock Test - 1 · Shortest Path Algorithms

MCQ · 1 mark · Problem PROG-GRPH-0107

To implement Dijkstra's shortest path algorithm on unweighted graphs so that it runs in linear time, then data structure to be used is
  1. A
    Queue
  2. B
    Stack
  3. C
    Heap
  4. D
    B-Tree

Solve it on GATE DA practice →More Graph Theory & Algorithms problems

Show the worked solutionOfficial GATE Answer Key: Option A.See full step-by-step discussion on GateOverflow: https://gateoverflow.in/891/gate2006-12

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com