原题地址:https://oj.leetcode.com/problems/best-time-to-buy-and-sell-stock-ii/题意:Say
you have an array for which theithelement is the price of a given stoc...
分类:
编程语言 时间:
2014-06-06 20:04:46
阅读次数:
400
Divide two integers without using
multiplication, division and mod operator. 1 class Solution { 2 public: 3 int
divide(int dividend, int divisor) ...
分类:
其他好文 时间:
2014-06-06 17:40:07
阅读次数:
193
原题地址:https://oj.leetcode.com/problems/triangle/题意:Given
a triangle, find the minimum path sum from top to bottom. Each step you may move
to adjacent n...
分类:
编程语言 时间:
2014-06-06 17:31:34
阅读次数:
397
基本原则:1.直观2.简捷3.不要省*****************************************************************************************---命名规则---常量名:大写,HAVE_ARCH_STRNCAT变量名:
1.英文...
分类:
其他好文 时间:
2014-06-06 15:36:59
阅读次数:
333
注意题目这句话,Once you have each type of candies in a
box, you want to pack those boxes into larger boxes, until only one box
remains.两个box合并后必须放入更大一个盒子题目的有...
分类:
其他好文 时间:
2014-06-06 13:09:50
阅读次数:
213
It happened in the iron and instantaneous
stuffy car, will have top, hydraulic automatic row material, greatly reduces the
original spring cone crushe...
分类:
其他好文 时间:
2014-06-06 10:45:06
阅读次数:
310
The Actor is the unit of execution in Akka.
Actors are object-oriented in the sense that they encapsulate state and
behavior, but they have much stron...
分类:
其他好文 时间:
2014-06-06 10:37:41
阅读次数:
344
On some occasions, especially if you are working
behind a corporate or university firewall, you may find that the Intel? XDK will
either not start or ...
分类:
其他好文 时间:
2014-06-06 09:54:57
阅读次数:
211
枚举 使用enum创建枚举——注意 Swift 的枚举可以关联方法: 1 enum Rank:
Int { 2 case Ace = 1 case Two, Three, Four, Five, Six, Seven, Eight, Nine, Ten 3
case Jack, Q...
分类:
其他好文 时间:
2014-06-06 08:30:54
阅读次数:
285
Given a sorted linked list, delete all nodes
that have duplicate numbers, leaving onlydistinctnumbers from the original
list.For example,Given1->2->3-...
分类:
其他好文 时间:
2014-06-06 06:57:18
阅读次数:
271