01_knapsack_dfs_memory