/*function ListNode(x){ this.val = x; this.next = null; }*/ function ReverseList(pHead) { if(!pHead || !pHead.next) return pHead; let newhead = ReverseList(pHead.next); pHead.next.next = pHead; pHead.next = null; return newhead; } module.exports = { ReverseL...