Dynamic Programming: Knapsack - Perfect Squares
The following code attempts to compute the minimum number of perfect squares summing to
n. Which line contains a subtle bug that can cause incorrect results or infinite loops?