Contains Duplicate Given an array of integers, find if the array contains any duplicates. Your function should return true if any value appears at lea ...
分类:
其他好文 时间:
2016-05-10 20:33:16
阅读次数:
144
self = [super init] 这个问题一直不太明白,今天研究了一下,在stackoverflow找到了下面的答案: http://stackoverflow.com/questions/2956943/why-should-i-call-self-super-init 我对这些答案简单翻译 ...
分类:
移动开发 时间:
2016-05-10 12:24:15
阅读次数:
216
题目链接: https://leetcode.com/problems/additive-number/
Additive number is a string whose digits can form additive sequence.
A valid additive sequence should contain at least three numbers. Excep...
分类:
其他好文 时间:
2016-05-10 07:08:05
阅读次数:
174
How many integers can you find Problem Description Now you get a number N, and a M-integers set, you should find out how many integers which are small ...
分类:
其他好文 时间:
2016-05-09 22:13:37
阅读次数:
196
Write a reverseWords function that accepts a string a parameter, and reverses each word in the string. Every space should stay, so you cannot usewords ...
分类:
编程语言 时间:
2016-05-08 19:44:23
阅读次数:
239
136. Single Number Given an array of integers, every element appears twice except for one. Find that single one. Note:Your algorithm should have a lin ...
分类:
其他好文 时间:
2016-05-08 15:05:38
阅读次数:
185
Values of type 'NSInteger' should not be used as format arguments Values of type 'NSInteger' should not be used as format arguments 苹果app支持arm64以后会有一个 ...
分类:
其他好文 时间:
2016-05-08 11:51:28
阅读次数:
126
Contains Duplicate
Total Accepted: 87674 Total
Submissions: 212037 Difficulty: Easy
Given an array of integers, find if the array contains any duplicates. Your function should return...
分类:
其他好文 时间:
2016-05-07 11:27:21
阅读次数:
144
4. Median of Two Sorted Arrays题目简介
There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity should be O(log...
分类:
其他好文 时间:
2016-05-07 10:00:11
阅读次数:
141
【原来在SAE的blog上,都转到CSDN了。。】
21.
Merge Two Sorted Lists-leetcode-java
发表于 2016/02/05
题目
Merge two sorted linked lists and return it as a new list. The new list should be made by spl...
分类:
编程语言 时间:
2016-05-07 09:27:23
阅读次数:
172