js版本,利用栈的思想,请大佬指教 function ListNode(x){ this.val = x; this.next = null; } function ReverseList(pHead) { // write code here let s = [] while(pHead != null){ s.push(pHead.val) &nb...