Category:Backtracking (DP)

A modified version of dynamic programming where, at the end, you work backwards to produce a solution. For example, instead of "find the least number of coins needed to make change" you would actually have to output the list of coins.

Variants on this technique include producing the lexicographically-first solution when multiple solutions exist.