Simliar to Knapsack problem 0-1, Unbounded knapsack. Perfect Sqaures is unbounded knapsack problem. Subset sum, Subsets Algorithm