码迷,mamicode.com
首页 >  
搜索关键字:should be repaired    ( 4956个结果
Leetcode-Two Sum
Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two nu...
分类:其他好文   时间:2014-11-28 06:15:51    阅读次数:215
[LeetCode] Merge Two Sorted Lists
Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists.注意写出鲁棒性的代...
分类:其他好文   时间:2014-11-27 23:30:28    阅读次数:202
HDOJ_ACM 2054 使用java
Problem DescriptionGive you two numbers A and B, if A is equal to B, you should print "YES", or print "NO".Inputeach test case contains two numbers A ...
分类:编程语言   时间:2014-11-27 20:29:03    阅读次数:224
LeetCode:Remove Duplicates from Sorted Array II
题目描述: Follow up for "Remove Duplicates": What if duplicates are allowed at most twice? For example, Given sorted array A = [1,1,1,2,2,3], Your function should return length = 5, and A is ...
分类:其他好文   时间:2014-11-27 16:16:38    阅读次数:122
copy 和 strong(或retain)的区别
http://stackoverflow.com/questions/18526909/whether-i-should-use-propertynonatomic-copy-or-propertynonatomic-strong-fo'copy' will cause the setter for...
分类:其他好文   时间:2014-11-27 15:47:21    阅读次数:193
Leetcode-Sort List
Sort a linked list in O(n log n) time using constant space complexity.Analsys:We use Merge Sort.NOTE: We should practice other sort algorithm, linke Q...
分类:其他好文   时间:2014-11-27 01:35:39    阅读次数:213
Leecode -- TwoSum
question:Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of t...
分类:其他好文   时间:2014-11-26 23:59:52    阅读次数:381
Two Sum
Given an array of integers, find two numbers such that they add up to a specific target number. The function twoSum should return indices of the two numbers such that they add up to the target, whe...
分类:其他好文   时间:2014-11-26 22:48:27    阅读次数:255
Slim Span
Description Given an undirected weighted graph G , you should find one of spanning trees specified as follows. The graph G is an ordered pair (V, E) , where V is a set of vertices {v1, v2...
分类:其他好文   时间:2014-11-26 22:45:41    阅读次数:364
[4Clojure]解题记录-#69
Difficulty:MediumTopics:core-functionsWrite a function which takes a function f and a variable number of maps. Your function should return a map that ...
分类:其他好文   时间:2014-11-26 20:50:01    阅读次数:134
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!