题目链接Problem discriptionGiven two sorted integer
arrays A and B, merge B into A as one sorted array.Note:You may assume that A
has enough space (size t...
分类:
其他好文 时间:
2014-06-16 11:12:36
阅读次数:
192
原题地址:https://oj.leetcode.com/problems/maximum-subarray/题意:Find
the contiguous subarray within an array (containing at least one number) which
has the ...
分类:
编程语言 时间:
2014-06-12 17:06:04
阅读次数:
339
什么是单一职责原则? 单一职责原则的英文名称是Single Responsibility
Principle,简称是SRP。SRP原则的解释是:There should never be more than one reason for a
class to change。定义很简单,即不能存在多....
分类:
其他好文 时间:
2014-06-12 15:29:46
阅读次数:
202
Reverse Linked List IIReverse a linked list from
positionmton. Do it in-place and in one-pass.For example:Given
1->2->3->4->5->NULL, m= 2 andn= 4,retu...
分类:
其他好文 时间:
2014-06-12 07:03:54
阅读次数:
308
字典是无序的
数组是有序的。字典分为:可变字典和不可变字典不可变字典对象NSDictionary * dict = [[NSDictionary
alloc]initWithObjectsAndKeys:@"one",@"1",@"two",@"2",@"three",@"3",@"four",@"...
分类:
移动开发 时间:
2014-06-12 06:25:50
阅读次数:
324
姓名 年龄 地址 zero 0 wuhan one 23 ...
分类:
其他好文 时间:
2014-06-12 06:12:17
阅读次数:
364