News for hackers. Stuff that matters.
Re:Solving dynamic programming interview problems by zodiac on Saturday May 19, 2018 @05:39AM (#17107234)
Depends on the problem. Some problems have very explicit recursive structure (eg http://rosettacode.org/wiki/Arithmetic_evaluation) such that an iterative solution is more "unnatural". Not saying that most problems are like that, just that this shows it depends on the problem.

There are no comments on this comment yet.