Question: Which of the following algorithms is an example of dynamic programming?
Options:
Correct Answer: Floyd-Warshall Algorithm
Solution:
The Floyd-Warshall Algorithm is an example of dynamic programming, used to find shortest paths in a weighted graph.