patternModerate
What is "dynamic" about dynamic programming?
Viewed 0 times
programmingaboutwhatdynamic
Problem
One of my seniors had a job interview and he was asked why it is called dynamic. He couldn't answer and after he gave up the interviewer said that there's nothing dynamic about it, its just called like that. That is hard for me to believe.
Does it refer to the fact that the subproblems are solved during run-time and used in reaching the final goal? Like dynamic memory allocation that happens during run-time?
[ANSWER]
I should have read this wiki article before asking the question, sorry.
Does it refer to the fact that the subproblems are solved during run-time and used in reaching the final goal? Like dynamic memory allocation that happens during run-time?
[ANSWER]
I should have read this wiki article before asking the question, sorry.
Solution
Actually, there is nothing special in the name "dynamic programming"; the technique itself is just about smartly unwinding recursion. See this question and look at @Jeffe answer, in which is reported that Belman choose that name to be intentionally distracting.
Context
StackExchange Computer Science Q#17871, answer score: 11
Revisions (0)
No revisions yet.