Skip to content

Commit eba187c

Browse files
typo in variable name
1 parent f8c3978 commit eba187c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

javascript/0143-reorder-list.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
*/
77
var reorderList = function(head) {
88
const mid = getMid(head); /* Time O(N) */
9-
const reveredFromMid = reverse(mid);/* Time O(N) */
9+
const reversedFromMid = reverse(mid);/* Time O(N) */
1010

11-
reorder(head, reveredFromMid); /* Time O(N) */
11+
reorder(head, reversedFromMid); /* Time O(N) */
1212
};
1313

1414
const getMid = (head) => {

0 commit comments

Comments
 (0)