RE: Dynamic Programming with Memoizing