上一页 1 2 3 4 5 6 7 8 9 10 ··· 21 下一页
摘要: 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) 编辑
摘要: Binary Tree Level Order Traversal 题目链接 题目要求: Given a binary tree, return thelevel ordertraversal of its nodes' values. (ie, from left to right, lev... 阅读全文
posted @ 2015-07-08 21:53 峰子_仰望阳光 阅读(200) 评论(0) 推荐(0) 编辑
摘要: 题目链接 题目要求: Given a binary tree, determine if it is height-balanced. For this problem, a height-balanced binary tree is defined as a binary tree i... 阅读全文
posted @ 2015-07-08 21:00 峰子_仰望阳光 阅读(172) 评论(0) 推荐(0) 编辑
摘要: 题目链接 题目要求: Given a binary tree containing digits from0-9only, each root-to-leaf path could represent a number. An example is the root-to-leaf pat... 阅读全文
posted @ 2015-07-08 20:44 峰子_仰望阳光 阅读(180) 评论(0) 推荐(0) 编辑
摘要: 题目链接 题目要求: Given a binary tree, determine if it is a valid binary search tree (BST). Assume a BST is defined as follows:The left subtree of a nod... 阅读全文
posted @ 2015-07-08 19:59 峰子_仰望阳光 阅读(195) 评论(0) 推荐(0) 编辑
摘要: Path Sum 题目链接 题目要求: Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path ... 阅读全文
posted @ 2015-07-08 13:59 峰子_仰望阳光 阅读(222) 评论(0) 推荐(0) 编辑
摘要: Symmetric Tree 题目链接 题目要求: Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center). For example, this binary ... 阅读全文
posted @ 2015-07-08 11:22 峰子_仰望阳光 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 本文摘录自TCP中的MSS解读。 MSS 是TCP选项中最经常出现,也是最早出现的选项。MSS选项占4byte。MSS是每一个TCP报文段中数据字段的最大长度,注意:只是数据部分的字段,不包括TCP的头部。TCP在三次握手中,每一方都会通告其期望收到的MSS(MSS只出现在SYN数据包中)... 阅读全文
posted @ 2015-07-08 10:06 峰子_仰望阳光 阅读(1558) 评论(0) 推荐(0) 编辑
摘要: 本文转载自博文协议森林05 我尽力 (IP协议详解)。这篇博文写的很有趣味,特转载!IPv4与IPv6头部的对比 我们已经在IP接力中介绍过,一个IP包分为头部(header)和数据(payload/data)两部分。头部是为了实现IP通信必须的附加信息,数据是IP通信所要传送的信息。 ... 阅读全文
posted @ 2015-07-07 17:53 峰子_仰望阳光 阅读(414) 评论(0) 推荐(0) 编辑
摘要: 本文转载自陈皓博文TCP 的那些事儿(上)。 TCP是一个巨复杂的协议,因为他要解决很多问题,而这些问题又带出了很多子问题和阴暗面。所以学习TCP本身是个比较痛苦的过程,但对于学习的过程却能让人有很多收获。关于TCP这个协议的细节,我还是推荐你去看W.Richard Stevens的《TCP/... 阅读全文
posted @ 2015-07-07 15:25 峰子_仰望阳光 阅读(380) 评论(0) 推荐(1) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 21 下一页