We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3b8ec3 commit 6ff07b0Copy full SHA for 6ff07b0
algorithm/dp/knapsack_problem/basic/data.js
@@ -11,7 +11,7 @@ for (var i = 0; i < N + 1; i++) {
11
}
12
13
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();
+var tracer = new Array2DTracer('Knapsack Table')._setData(DP);
+var dataViewer1 = new Array1DTracer('Values')._setData(val);
+var dataViewer2 = new Array1DTracer('Weights')._setData(wt);
+var logger = new LogTracer();
0 commit comments