码迷,mamicode.com
首页 >  
搜索关键字:should be repaired    ( 4956个结果
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...
分类:其他好文   时间:2015-03-28 15:46:40    阅读次数:119
Leetcode解题-链表(2.2.3)PartitionList
题目:2.2.3 Partition ListGiven a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x. You should preserve the original relative order of ...
分类:其他好文   时间:2015-03-28 11:35:33    阅读次数:145
LeetCode Algorithm 04
There are two sorted arrays A and B of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity should be ...
分类:其他好文   时间:2015-03-21 22:51:10    阅读次数:200
C# ignoring letter case for if statement(Stackoverflow)
Question: I have this if statement: if (input == 'day') Console.Write({0}, dayData); When the user types 'day' it should be so that the console write....
分类:Windows程序   时间:2015-03-21 22:46:49    阅读次数:216
Merge Two Sorted Lists—LeetCode
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.https://l...
分类:其他好文   时间:2015-03-21 19:53:40    阅读次数:135
【LeetCode】Two Sum
Two SumGiven 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...
分类:其他好文   时间:2015-03-21 19:49:32    阅读次数:121
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 t...
分类:其他好文   时间:2015-03-21 18:24:54    阅读次数:124
LeetCode Algorithm 01
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...
分类:其他好文   时间:2015-03-21 16:54:40    阅读次数:126
【LeetCode】【C++】Wildcard Matching
题目‘?’ Matches any single character. ‘*’ Matches any sequence of characters (including the empty sequence).The matching should cover the entire input string (not partial).The function prototype should...
分类:编程语言   时间:2015-03-21 12:43:07    阅读次数:190
LeetCode Spiral Matrix II
Given an integer n, generate a square matrix filled with elements from 1 to n2 in spiral order. For example, Given n = 3, You should return the following matrix: [ [ 1, 2, 3 ], [ 8, 9, 4 ], [...
分类:其他好文   时间:2015-03-21 12:41:11    阅读次数:105
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!