Skip to content

Commit b5bdfb5

Browse files
📚 docs(knapsackApprox): Fix.
1 parent 542dcc7 commit b5bdfb5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/knapsackApprox.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ import integerValuesKnapsack from './integerValuesKnapsack';
77
/**
88
* (1-eps)-approx for the knapsack problem. Runs in O(N^3/eps) time.
99
*
10+
* @param {Number} eps Approximation constant.
1011
* @param {Array} v Values.
1112
* @param {Array} w Weights.
12-
* @param {Array} n Size of the problem.
13-
* @param {Array} W Size of the knapsack.
14-
* @param {Array} eps Approximation constant.
13+
* @param {Number} n Size of the problem.
14+
* @param {Number} W Size of the knapsack.
1515
* @param {Number} P Any lower bound on OPT > 0.
1616
*/
1717
const knapsackApprox = (

0 commit comments

Comments
 (0)