Question: Which of the following is a characteristic of Dijkstra\'s algorithm?
Options:
Correct Answer: It can be used for both directed and undirected graphs.
Solution:
Dijkstra\'s algorithm can be used for both directed and undirected graphs, provided that all edge weights are non-negative.