Courses
Tutorials
Practice
Contests
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
Projects
GfG Premium
Algorithms | Graph Shortest Paths | Question 2
Last Updated :
Discuss
Comments
To implement Dijkstra’s shortest path algorithm on unweighted graphs so that it runs in linear time, the data structure to be used is:
Queue
Stack
Heap
B-Tree
This question is part of this quiz :
Top MCQs on Shortest Paths in Graphs with Answers
Tags:
DSA Quiz
Share your thoughts in the comments
Add Your Comment
GeeksforGeeks