摘要:
用到了BM1的思路。 #include <stdio.h> struct ListNode { int val; struct ListNode *next; }; struct ListNode* reverseBetween(struct ListNode* head, int m, int n 阅读全文
摘要:
#include <stdio.h> struct ListNode { int val; struct ListNode *next; }; struct ListNode* ReverseList(struct ListNode* pHead ) { if (pHead == NULL) ret 阅读全文