Backtracking vs Dynamic Programming

Solve and Compare