Skip to content

Commit 678b652

Browse files
committed
Runtime: 74 ms (Top 75.46%) | Memory: 41.3 MB (Top 98.90%)
1 parent 9237a76 commit 678b652

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Runtime: 74 ms (Top 75.46%) | Memory: 41.3 MB (Top 98.90%)
12
var middleNode = function(head) {
23
var runner1 = head
34
var runner2 = head?.next
@@ -6,4 +7,4 @@ var middleNode = function(head) {
67
runner2 = (runner2?.next)?.next
78
}
89
return runner1
9-
};
10+
};

0 commit comments

Comments
 (0)