Which algorithm for the knapsack problem has a O(2^n*n) complexity?
I've been asked to implement a solution for the knapsack problem.
I'm familiar with programming but not with asymptotic notation.
Can anybody advise me on which algorithm has a O(2^n*n) complexity?