Skip to content

Commit dfc8355

Browse files
mvivekcprofnandaa
authored andcommitted
fix: update code results (careercup#53)
1 parent 0605eff commit dfc8355

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chapter02/2.4 - Partition/partition.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ var partition = function(head, partition) {
4040

4141
/* TESTS */
4242
// Input: 3 -> 5 -> 8 -> 5 -> 10 -> 2 -> 1 [partition = 5]
43-
// Output: 3 -> 1 -> 2 -> 10 -> 5 -> 5 -> 8
43+
// Output: 3 -> 2 -> 1 -> 5 -> 8 -> 5 -> 10
4444

4545
var printList = function(a) {
4646
while (a !== null) {

0 commit comments

Comments
 (0)