Question

Dijkstra's algorithm, used for finding the shortest paths from a single source to all other vertices in a graph with non-negative edge weights, is an example of which algorithmic paradigm?

A Dynamic Programming
B Divide and Conquer
C Backtracking
D Greedy Algorithm
E Brute Force
Practice Next

Hey! Ask a query