个人总结
文章平均质量分 56
淡泊shine
这个作者很懒,什么都没留下…
展开
-
new对象和直接声明对象的区别
在C++中,内存分成5个区,他们分别是堆、栈、自由存储区、全局/静态存储区和常量存储区转载 2014-08-12 17:07:16 · 571 阅读 · 0 评论 -
二叉树建立及遍历 实例
完整的给出二叉树递归建立和非递归先序,递归后序代码原创 2014-08-12 19:36:33 · 403 阅读 · 0 评论 -
ZigZag Conversion刷题
ZigZag Conversion Total Accepted: 11937 Total Submissions: 50113My Submissions The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may w原创 2014-08-31 22:47:38 · 503 阅读 · 0 评论 -
3Sum leetcode解法 分析
坑死人不偿命的3Sum,知道思路,改了一晚上才改好,各种小错 #include #include #include using namespace std; /** 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原创 2014-10-05 23:07:31 · 518 阅读 · 0 评论 -
remove duplicates from sorted array I II一些思路
在已排序的数组中去除重复元素,要求不使用多余的kongj原创 2014-09-28 17:08:04 · 420 阅读 · 0 评论 -
关于全排列 leetcode
Title Add Date Acceptance Difficulty Permutation Sequence 2012-03-27 22.3% Medium Permutations II 2012-03-16 25.0% Hard Permutat原创 2014-11-05 21:40:05 · 365 阅读 · 0 评论