Simple JS Solution
\nvar reorderList = function (head) {\n  let stack = [], node = head\n  if (!node) return\n  while (node) {\n    stack.push(node)\n    node = node.next\n  }\n\n
```\nvar reorderList = function (head) {\n  let stack = [], node = head\n  if (!node) return\n  while (node) {\n    stack.push(node)\n    node = node.next\n  }\n\n  let len = stack.length\n  node = head\n  for (let i = 0; i < len; i++) {\n    if (i % 2 === 0)\n      node.next = stack.shift()\n    else\n      node.next = stack.pop()\n    node = node.next\n  }\n  node.next = null\n};\n```
['JavaScript']