码迷,mamicode.com
首页 > 其他好文
hdoj 1859 最小长方形
最小长方形Time Limit: 1000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 8339Accepted Submission(s): 4476Problem Descr...
分类:其他好文   时间:2015-06-03 00:47:12    阅读次数:124
[LeetCode] Binary Tree Level Order Traversal II
Well, I do not see what this problem is for. The same code of Binary Tree Level Order Traversal can be used here. The only difference is that we shoul...
分类:其他好文   时间:2015-06-03 00:44:08    阅读次数:209
[LeetCode] Binary Tree Preorder Traversal
This is a fundamental and yet classic problem. I share my three solutions here:Iterative solution using stack ---O(n)time andO(n)space;Recursive solut...
分类:其他好文   时间:2015-06-03 00:46:35    阅读次数:131
[LeetCode] Best Time to Buy and Sell Stock II
This problem is similar to the oneBest time to sell and buy stock. To maximize the profit, in each time interval[a, b], we choose dayisuch thatprices[...
分类:其他好文   时间:2015-06-03 00:45:32    阅读次数:300
[LeetCode] House Robber II
This problem is a little tricky at first glance. However, if you have finished the "House Robber" problem, this problem can simply bedecomposed into t...
分类:其他好文   时间:2015-06-03 00:42:11    阅读次数:231
Object-C中各类空值的分析
Object-C中各类空值的分析nilNULLobject-c前言初次接触Object-C时,经常会遇到这样的困惑,使用空值时,什么时候使用nil,什么时候使用NSNULL?而且似乎用NULL也可以,另外Object-c中还有一个Nil。这么多的空值表示容易让人迷惑,下面将能过逐一分析来理清楚这4者...
分类:其他好文   时间:2015-06-03 00:44:24    阅读次数:234
《找出1到正整数N中出现1的次数》
《找出1到正整数N中出现1的次数》编程思想:依次求出正整数每个位数上出现1的次数,累加即可得到最后想要的结果;而每一位上出现1的个数与和它相邻的其它位数上的数字有关系(以此位置上的数为对称轴,其左边的所有数字作为其...
分类:其他好文   时间:2015-06-03 00:44:28    阅读次数:233
[LeetCode] Contains Duplicate II
Well, the basic idea is fairly straightforward. We maintain a mappingmpfrom a value innumsto its position (index)i. Each time we meet an unseen value,...
分类:其他好文   时间:2015-06-03 00:43:26    阅读次数:237
并发编程笔记Outline
并发编程笔记总纲:动机、计划、参考书籍和进展。
分类:其他好文   时间:2015-06-03 00:43:35    阅读次数:230
团队站立会议4(第二阶段)
我们团队在5月29日进行了第二阶段第四次站立会议。一、前一天完成的任务:韩雪东:对倒计时工具内部控件进行了部分更改与美化柴珏辉:昨天在为主界面设计自主添加应用快捷方式功能邓锐:找了项目的图标,测试完扫雷,发现画面展现速度慢,失败后雷出现的速度也慢,尤其在游戏难度高的时候,另外,界面上还有待修改。二、...
分类:其他好文   时间:2015-06-03 00:42:50    阅读次数:235
LeetCode(13)--Roman to Integer
https://leetcode.com/problems/roman-to-integer/原题:Given a roman numeral, convert it to an integer.Input is guaranteed to be within the range from 1 to...
分类:其他好文   时间:2015-06-03 00:43:07    阅读次数:181
[LeetCode] Unique Paths II
Well, this problem is in fact the same toUnique Pathsin spirit. The introduction of obstacles only changes the boundary conditions and make some point...
分类:其他好文   时间:2015-06-03 00:43:14    阅读次数:156
简单编辑器的入门使用,修改编辑工具增加表情
1.编辑器的入门使用去http://ueditor.baidu.com下载选择自己需要的字符集类型,下载本地表情然后解压放在虚拟服务器admin目录下ueditor1_4_3-utf8-php 名字修改为 ueditor把里面的内容粘在一级目录下把如下代码放入需要的的body目录下,注意路径的问题不...
分类:其他好文   时间:2015-06-03 00:40:53    阅读次数:150
[LeetCode] Unique Paths
Well, there is a nice and succinct solution to this problem using math skills. However, personally I guess it would be safer to use DP in a coding int...
分类:其他好文   时间:2015-06-03 00:42:00    阅读次数:157
[LeetCode] Minimum Path Sum
Well, this problem is a traditional dynamic programming problem. Suppose the minimum path sum of arriving at point(i, j)isS[i][j], then we have the fo...
分类:其他好文   时间:2015-06-03 00:39:59    阅读次数:220
[LeetCode] Flatten Binary Tree to Linked List
This problem seems to be tricky at first glance. However, if you know Morris traversal, it is just the preorder case of Morris traversal and the code ...
分类:其他好文   时间:2015-06-03 00:42:17    阅读次数:136
opengles tutorial
https://developer.apple.com/library/ios/documentation/3DDrawing/Conceptual/OpenGLES_ProgrammingGuide/Introduction/Introduction.html
分类:其他好文   时间:2015-06-03 00:40:38    阅读次数:121
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!