If weight of the nth item is more than Knapsack of capacity W , then this item cannot be included in the optimal solution
if ( wt [ n - 1 ] > W ) : NEW_LINE INDENT return knapSack ( W , wt , val , n - 1 ) NEW_LINE DEDENT