206. 反转链表:
def reverseList(head): pre = None p = head while p: nextNode = p.next p.next = pre pre = p p = nextNode return pre