摘要:
1.定义反转字符串 void changeOrder1(char* data){ if (data == NULL) { return; } auto nLen = strlen(data); char *p1 = data; char* p2 = p1 + (nLen - 1); while (p 阅读全文
posted @ 2020-06-20 20:35
lxg_7105
阅读(892)
评论(0)
推荐(0)
摘要:
struct Node { int num; struct Node* next; }; Node* reverseList(Node *pNode) { Node* prev = nullptr; while (pNode) { Node* pNext = pNode->next; pNode-> 阅读全文
posted @ 2020-06-20 14:25
lxg_7105
阅读(199)
评论(0)
推荐(0)