nc96专题

javaScript -- 牛客NC96 判断一个链表是否为回文结构

题目描述 给定一个链表,请判断该链表是否为回文结构。 /** function ListNode(x){* this.val = x;* this.next = null;* }*//*** * @param head ListNode类 the head* @return bool布尔型*/function isPail( head ) {// write code hereNC/