* struct ListNode { * int val; * struct ListNode *next; * }; * * C语言声明定义全局变量请加上static,防止重复定义 */ /** * * @param pHead ListNode类 * @return ListNode类 */ struct ListNode* ReverseList(struct ListNode* pHead ) { //本题 头结点为第一个结点 pHead //当为空、或者 只有一个元素时直接退出 if(pHead == NULL) return...