1HardComputer ScienceAlgorithms2024FreeThe knapsack problem solved with dynamic programming exhibits which key property?