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 0605eff commit dfc8355Copy full SHA for dfc8355
chapter02/2.4 - Partition/partition.js
@@ -40,7 +40,7 @@ var partition = function(head, partition) {
40
41
/* TESTS */
42
// Input: 3 -> 5 -> 8 -> 5 -> 10 -> 2 -> 1 [partition = 5]
43
-// Output: 3 -> 1 -> 2 -> 10 -> 5 -> 5 -> 8
+// Output: 3 -> 2 -> 1 -> 5 -> 8 -> 5 -> 10
44
45
var printList = function(a) {
46
while (a !== null) {
0 commit comments