码迷,mamicode.com
首页 >  
搜索关键字:should be repaired    ( 4956个结果
Leetcode Single Number
Given an array of integers, every element appearstwiceexcept for one. Find that single one.Note:Your algorithm should have a linear runtime complexity...
分类:其他好文   时间:2014-11-25 14:21:59    阅读次数:183
Leetcode Single Number II
Given an array of integers, every element appearsthreetimes except for one. Find that single one.Note:Your algorithm should have a linear runtime comp...
分类:其他好文   时间:2014-11-25 14:14:58    阅读次数:149
LeetCode:Flatten Binary Tree to Linked List
题目描述: Given a binary tree, flatten it to a linked list in-place. For example, Given 1 / 2 5 / \ 3 4 6 The flattened tree should look like...
分类:其他好文   时间:2014-11-25 12:49:09    阅读次数:188
[leetcode] 17. 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...
分类:其他好文   时间:2014-11-25 00:02:41    阅读次数:211
LeetCode[Hash Table]: 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, where...
分类:其他好文   时间:2014-11-24 15:28:13    阅读次数:136
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. #include #include typedef struct ListNode { ...
分类:其他好文   时间:2014-11-24 15:24:26    阅读次数:183
Java开发5个JDK工具
http://www.csdn.net/article/2014-11-20/2822750-5-JDK-Tools-Every-Java-Developer-Should-Know?reload=1
分类:编程语言   时间:2014-11-24 14:56:50    阅读次数:164
First Missing Positive
Given an unsorted integer array, find the first missing positive integer.For example,Given[1,2,0]return3,and[3,4,-1,1]return2.Your algorithm should ru...
分类:其他好文   时间:2014-11-24 13:30:40    阅读次数:166
Hadoop配置常见Log错误指导
Master节点Log篇 1.?? WARN org.apache.hadoop.hdfs.server.common.Util: Path /usr/mywind/name should be specified as a URI in configuration files. Please update hdfs configuration. 问题定位:hdfs-si...
分类:其他好文   时间:2014-11-24 12:07:12    阅读次数:230
【Leetcode】Swap Nodes in Pairs in JAVA 难得的一次写对不带改的。。附赠测试程序like always
Given a linked list, swap every two adjacent nodes and return its head. For example, Given 1->2->3->4, you should return the list as 2->1->4->3. Your algorithm should use only constant space. Y...
分类:编程语言   时间:2014-11-24 10:10:53    阅读次数:155
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!