static int knapsack(int W,int val[],int wt[],int n) ...
implementation of dynamic and greedy approach solution for a problem. Which is a car company that produces given amount of cars every month with investments, profits costs etc. Profits are from car ...