Skip to content

Commit 6ff07b0

Browse files
author
Raghav Dua
committed
Update data.js
1 parent e3b8ec3 commit 6ff07b0

File tree

1 file changed

+4
-4
lines changed
  • algorithm/dp/knapsack_problem/basic

1 file changed

+4
-4
lines changed

algorithm/dp/knapsack_problem/basic/data.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ for (var i = 0; i < N + 1; i++) {
1111
}
1212
}
1313

14-
var tracer = new Array2DTracer()._setData(DP);
15-
var dataViewer1 = new Array1DTracer()._setData(val);
16-
var dataViewer2 = new Array1DTracer()._setData(wt);
17-
var logger = new LogTracer();
14+
var tracer = new Array2DTracer('Knapsack Table')._setData(DP);
15+
var dataViewer1 = new Array1DTracer('Values')._setData(val);
16+
var dataViewer2 = new Array1DTracer('Weights')._setData(wt);
17+
var logger = new LogTracer();

0 commit comments

Comments
 (0)