会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Juntaran
天上风筝在天上飞,地上人儿在地上追
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
···
15
下一页
2016年9月24日
epoll
摘要: windows走IOCP已经与我无缘了 Linux 则是epoll、select/poll epoll_create创建一个epoll文件描述符,底层是一个红黑树和一个就绪链表 红黑树存储文件描述符节点数据 就绪链表存储就绪的文件描述符节点数据 epoll_ctl添加新的描述符,先判断红黑树有没有这
阅读全文
posted @ 2016-09-24 12:35 Juntaran
阅读(342)
评论(0)
推荐(0)
2016年9月23日
小米2017校招笔试题
摘要: 只过了20%...我日 找到原因了,根节点不一定是0,MDZZ 代码第80行 树的高度 时间限制:C/C++语言 1000MS;其他语言 3000MS 内存限制:C/C++语言 65536KB;其他语言 589824KB 题目描述: 现在有一棵合法的二叉树,树的节点都是用数字表示, 现在给定这棵树上
阅读全文
posted @ 2016-09-23 21:11 Juntaran
阅读(2708)
评论(0)
推荐(0)
2016年9月21日
tcpdump 常用命令
摘要: -i 指定网卡 选择tcp/udp 截取hostname/192.168.1.100收到所有包 源/目的端口80 以上为最常用命令 多个条件中间可以加 and 屏蔽条件可以加not src/dst portrange port1-port2 截取port1-port2范围内端口数据包 截取所有通过网
阅读全文
posted @ 2016-09-21 12:08 Juntaran
阅读(555)
评论(0)
推荐(0)
2016年9月8日
10进制转22进制
摘要: 笔试的思路有点乱 重写一个
阅读全文
posted @ 2016-09-08 19:41 Juntaran
阅读(418)
评论(0)
推荐(0)
2016年9月7日
数组指针和指针数组
摘要: 中兴面试问这个没答好,当时没太理解面试官意思 刚出了酒店突然明白面试官什么意思了 只需要记住向右看向左看原则即可 数组指针:一个指向一维数组的指针 int a[]; int* p = a; 32位下指针永远占4字节 指针数组:int *p[n] 每一个元素都是一个指针
阅读全文
posted @ 2016-09-07 11:32 Juntaran
阅读(184)
评论(0)
推荐(0)
2016年9月4日
剑指Offer47 不用加减乘除做加法
摘要: 1 /************************************************************************* 2 > File Name: 47_AddTwoNumbers.c 3 > Author: Juntaran 4 > Mail: JuntaranMail@gmail.com 5 > Created T...
阅读全文
posted @ 2016-09-04 21:45 Juntaran
阅读(151)
评论(0)
推荐(0)
剑指Offer46 求1+2+...+n
摘要: 1 /************************************************************************* 2 > File Name: 46_Accumulate.c 3 > Author: Juntaran 4 > Mail: JuntaranMail@gmail.com 5 > Created Time...
阅读全文
posted @ 2016-09-04 21:44 Juntaran
阅读(138)
评论(0)
推荐(0)
剑指Offer45 约瑟夫环
摘要: 1 /************************************************************************* 2 > File Name: 45_LastNumberInCircle.cpp 3 > Author: Juntaran 4 > Mail: JuntaranMail@gmail.com 5 ...
阅读全文
posted @ 2016-09-04 21:43 Juntaran
阅读(257)
评论(0)
推荐(0)
剑指Offer44 扑克牌的顺子
摘要: 1 /************************************************************************* 2 > File Name: 44_ContinuesCards.cpp 3 > Author: Juntaran 4 > Mail: JuntaranMail@gmail.com 5 > Create...
阅读全文
posted @ 2016-09-04 21:42 Juntaran
阅读(172)
评论(0)
推荐(0)
剑指Offer43 n个骰子点数概率
摘要: 1 /************************************************************************* 2 > File Name: 43_Dics.cpp 3 > Author: Juntaran 4 > Mail: JuntaranMail@gmail.com 5 > Created Time: 20...
阅读全文
posted @ 2016-09-04 21:41 Juntaran
阅读(168)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
···
15
下一页
公告