
剑指offer
reading_code_man
背着书包去工作。。。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
C/C++逆序打印链表
C 逆序打印链表#include <stdio.h>#include <string.h>#include <stdlib.h>#define MAXSIZE 128#define SIZE 10typedef struct ListNode* List;struct ListNode{ int val; struct ListNode* ...原创 2018-04-15 10:50:56 · 953 阅读 · 0 评论 -
字符串转换为整形
#include <stdio.h>#include <string.h>int OverFlow(int a, int b) { if (a > 0 && b > 0 && (a + b < 0) || a < 0 && b < 0 && (a +原创 2018-04-07 12:31:10 · 1191 阅读 · 0 评论 -
二叉搜索树的后序遍历序列
输入一个整数数组,判断该数组是不是某二叉搜索树的后序遍历的结果。如果是则输出Yes,否则输出No。假设输入的数组的任意两个数字都互不相同。#include <iostream>#include <vector>#include <string.h>#include <stdlib.h>#include <algorithm> #...原创 2018-05-12 12:13:41 · 367 阅读 · 0 评论