摘要: I/O模型 Unix/Linux下有5中可用的I/O模型:阻塞式I/O非阻塞式I/OI/O复用(select、poll、epoll和pselect)信号驱动式I/O(SIGIO)异步I/O(POSIX的aio_系列的函数) 关于这五种详细介绍可参考《UNIX网络编程 卷1》或网上博文。I/O复用... 阅读全文
posted @ 2015-07-09 21:52 峰子_仰望阳光 阅读(1665) 评论(0) 推荐(1) 编辑
摘要: Binary Tree Preorder Traversal 题目链接 题目要求: Given a binary tree, return thepreordertraversal of its nodes' values. For example: Given binary tree{1... 阅读全文
posted @ 2015-07-09 12:00 峰子_仰望阳光 阅读(346) 评论(0) 推荐(0) 编辑