結果 : how is backtracking different from dynamic programming