摘要:
Node* reveser(Node *head) { if (head == NULL) { return NULL; } Node* pre = NULL; Node* next = NULL; while (head != NULL) { next = head->next; head->ne 阅读全文
posted @ 2021-03-11 20:40
唯一诺
阅读(65)
评论(0)
推荐(0)
摘要:
bool checkArr(char * arr, int len, int* max) { if (NULL == arr || len == 0 || max == NULL) { return false; } int maxdepth = 0, deep = 0; for (int i = 阅读全文
posted @ 2021-03-11 19:27
唯一诺
阅读(43)
评论(0)
推荐(0)
摘要:
bool testFunc(int k) { char kai[] = { 1, 2, 1, 3, 4, 5, 1 }; int size = sizeof(kai); for (int i = 0; i < size; i++) { for (int j = 1; j <= k; j++) { i 阅读全文
posted @ 2021-03-11 11:20
唯一诺
阅读(71)
评论(0)
推荐(0)

浙公网安备 33010602011771号