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 da2e863 commit 347f7f7Copy full SHA for 347f7f7
JavaScript/chapter02/2.2 - Return Kth to Last/solution.js
@@ -19,7 +19,6 @@ var findKthToLast = function(k, head) {
19
20
/* Tests */
21
var a = new linkedList('1');
22
-var a = new linkedList('1');
23
var b = new linkedList('2');
24
var c = new linkedList('3');
25
var d = new linkedList('4');
@@ -38,4 +37,4 @@ findKthToLast(3, a);
38
37
findKthToLast(10, a);
39
findKthToLast(-1, a);
40
findKthToLast(0, a);
41
-findKthToLast(1, a);
+findKthToLast(1, a);
0 commit comments