To implement Dijkstra's shortest path algorithm on un weighted graphs so that it runs in linear time, the data structure to be used is:
Reveal answer
Fill a bubble to check yourself
To implement Dijkstra's shortest path algorithm on un weighted graphs so that it runs in linear time, the data structure to be used is: