- 博客(6)
- 资源 (1)
- 收藏
- 关注
转载 CCF推荐国际学术期刊
中国计算机学会推荐国际学术期刊 (计算机系统与高性能计算) 一、A类 序号 刊物简称 刊物全称 出版社 网址 1 TOCS ACM Transactions on Computer Systems ACM http://tocs.acm.org/ 2
2017-02-28 15:37:39 2080
原创 内存对齐
规则: 1:数据成员对齐规则:结构(struct)(或联合(union))的数据成员,第一个数据成员放在offset为0的地方,以后每个数据成员存储的起始位置要从该成员大小或者成员的子成员大小(只要该成员有子成员,比如说是数组,结构体等)的整数倍开始(比如int在32位机为4字节,则要从4的整数倍地址开始存储。 2:结构体作为成员:如果一个结构里有某些结构体成员,则结构体成员要从其内
2017-02-27 15:30:38 192
原创 Leetcode 42. Trapping Rain Water
题目: Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining. For example, Given [0,1,0,2,1,0,1,3
2017-02-27 15:01:00 172
原创 Leetcode 41. First Missing Positive
题目: Given an unsorted integer array, find the first missing positive integer. For example, Given [1,2,0] return 3, and [3,4,-1,1] return 2. Your algorithm should run in O(n) time and uses
2017-02-27 13:51:41 153
原创 Leetcode 15. 3Sum
题目: Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero. Note: The solution set must no
2017-02-25 21:01:54 202
原创 Leetcode 3. Longest Substring Without Repeating Characters
题目:3. Longest Substring Without Repeating Characters要求:Given a string, find the length of the longest substring without repeating characters.Examples:Given “abcabcbb”, the answer is “abc”, which the le
2017-02-23 16:54:17 209
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人