Computer Science, asked by Kanandpatel4010, 12 hours ago

in dynamic programming, the output to stage n become the input to select one?

Answers

Answered by puskarkgp12
2

Explanation: I – In dynamic programming, the output to stage n become the input to stage n-1.

Answered by zumba12
0

In dynamic programming, the output to degree n will become the enter to degree n-1.

Stage in Dynamic programming:

  • In dynamic-programming terminology, every factor in which selections are made is generally known as a degree of the decision-making process.
  • To any degree, we want simplest recognize which intersection we're in a good way to make the next selections.

Explanation:

  • Bellman-Ford, 0-1 knapsack, and Floyd Warshall algorithms are dynamic programming-primarily based totally algorithms.
  • Greedy algorithms are commonly quicker than Dynamic programming. We use a dynamic programming method while the answer has a top-rated structure.

#SPJ3

Similar questions