自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

早睡早起好少年

为什么坚持 想一想当初

  • 博客(8)
  • 资源 (5)
  • 收藏
  • 关注

原创 leetcode-338-Counting Bits

338. Counting Bits Given a non negative integer number num. For every numbers i in the range 0 ≤ i ≤ num calculate the number of 1's in their binary representation and return them as an array.

2016-03-19 11:09:40 1455

原创 利用JPcap进行抓包

JPCAP实际上并非一个真正去实现对数据链路层的控制,而是一个中间件,JPCAP调用wincap/libpcap,而给JAVA语言提供一个公共的接口,从而实现了平台无关性。在官方网站上声明,JPCAP支持FreeBSD 3.x, Linux RedHat 6.1, Fedora Core 4, Solaris, and Microsoft Windows 2000/XP等系统。 参考

2016-03-14 22:05:04 7971 4

原创 leetcode-189.-Rotate Array

Rotate an array of n elements to the right by k steps. For example, with n = 7 and k = 3, the array [1,2,3,4,5,6,7] is rotated to [5,6,7,1,2,3,4]. Note: Try to come up as many solutions as

2016-03-09 20:58:19 271

原创 leetcode-328-Odd Even Linked List

Given a singly linked list, group all odd nodes together followed by the even nodes. Please note here we are talking about the node number and not the value in the nodes. You should try to do it in

2016-03-07 22:46:05 291

原创 计算机网络

1>.当一个IP数据报封装成链路层的帧时,此数据报的总长度(即报头区加上数据部分)一定不能超过下层的数据链路层的MTU值,否则无法传输。 因          此,我们需要对IP包进行分片,其中IP数据报的首部中,和IP数据包分片有关的字段为——总长度、标识、标志以及位偏移.分片由网络层的路由器完        成。      目的主机收到所有分片后,对分片进行重新组装还原的过程叫做IP

2016-03-06 14:50:51 290

原创 leetcode-257-Binary Tree Paths

Given a binary tree, return all root-to-leaf paths. For example, given the following binary tree: 1 / \ 2 3 \ 5 All root-to-leaf paths are: ["1->2->5", "1->3"] 输出所有 从根

2016-03-03 11:29:29 279

原创 leetcode-88-Merge Sorted Array

Given two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted array. Note: Yo u may assume that nums1 has enough space (size that is greater or equal to m +

2016-03-02 18:11:32 274

原创 leetcode-26-Remove Duplicates from Sorted Array

Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length. Do not allocate extra space for another array, you must do this in place with

2016-03-02 16:49:54 262

[溜客资源论坛提供]C++黑客编程揭秘与防范

黑客资料,了解Hacker,覆盖知识广,有兴趣可以看一下

2014-11-13

微软面试100题

经典的微软面试100题,详细讲解,对算法的学习大有帮组,对即将面试的同学更是不用说。

2014-08-27

c/c++语言参考

包含c++各种库函数,以及c的函数,c++中STL里的各种函数用法,很经典,即可作为入门基础,又可以当做工具书。

2014-08-27

UNIX环境高级编程(第二版)

UNIX操作系统,讲的很详细,适合新手, 绝对不坑

2014-08-20

《算法导论》

《算法导论》是一部很经典的书,里面包含了许多算法知识,深入浅出,图论,搜索,数据结构,应有尽有。对搞ACM的帮组极大。

2014-08-15

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除