摘要: 1 function reverseLinkedList(head) { 2 3 if (head null || head.next null) { 4 return head; 5 } 6 let newHead = null 7 while (head) { 8 let next = head 阅读全文
posted @ 2020-02-14 09:32 flamestudio 阅读(632) 评论(0) 推荐(0) 编辑