Question: What is the primary use of dynamic programming in real-world applications?
Options:
Correct Answer: Finding shortest paths
Solution:
Dynamic programming is primarily used for optimization problems, such as finding the shortest paths in graphs.