Question: What type of graph can Dijkstra\'s algorithm be applied to?
Options:
Correct Answer: Both directed and undirected graphs
Solution:
Dijkstra\'s algorithm can be applied to both directed and undirected graphs as long as the edge weights are non-negative.