Question
A programmer needs shortest-path and network optimization problems, and the chosen structure has the property that path quality can depend on the sum of weights. Which choice fits best?
Select an option. Your answer will be checked instantly.
Correct Answer: D. Weighted Graph
Explanation:
Weighted Graph fits because it supports shortest-path and network optimization problems and path quality can depend on the sum of weights.
Both clues point to this choice.
Leave a Reply