Solve and extend the Knapsack problem | BitGo