Gate CS-2006 Question Paper With Solutions

Q. 4 To implement Dijkstra’s shortest path algorithm on unweighted graphs so that it runs in linear time, then data structure to be used is

(A) Queue

(B) Stack

(C) Heap

(D) B-Tree

Answer: (A)

Explanation: Gate CS-2006 Question Paper With Solutions

Learn More:   Gate CS-2007 Question Paper With Solutions

LEAVE A REPLY

Please enter your comment!
Please enter your name here