码迷,mamicode.com
首页 >  
搜索关键字:should be repaired    ( 4956个结果
hdu4339 Query
Problem Description You are given two strings s1[0..l1], s2[0..l2] and Q - number of queries. Your task is to answer next queries:   1) 1 a i c - you should set i-th character in a-th string to c...
分类:其他好文   时间:2015-05-31 12:30:58    阅读次数:131
LeetCode Contains Duplicate
Given an array of integers, find if the array contains any duplicates. Your function should return true if any value appears at least twice in the array, and it should return false if every element is...
分类:其他好文   时间:2015-05-31 12:26:15    阅读次数:130
LeetCode的medium题集合(C++实现)十七
1 Partition List Given 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 the nod...
分类:编程语言   时间:2015-05-31 09:33:34    阅读次数:239
LeetCode之TwoSum
描述:        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 t...
分类:其他好文   时间:2015-05-30 18:22:02    阅读次数:120
一些项目——Rightmost Digit
Problem Description Given a positive integer N, you should output the most right digit of N^N. Input The input contains several test cases. The first line of the input is a single integer T...
分类:Web程序   时间:2015-05-30 18:19:19    阅读次数:128
Lettcode_217_Contains Duplicate
本文是在学习中的总结,欢迎转载但请注明出处:http://blog.csdn.net/pistolove/article/details/46271159 Given an array of integers, find if the array contains any duplicates. Your function should return true if any value appears at least twice in the array, and it s...
分类:其他好文   时间:2015-05-30 10:49:56    阅读次数:119
Merge Two Sorted List
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./** * Def...
分类:其他好文   时间:2015-05-30 00:36:48    阅读次数:184
Single Number -- leetcode
Given an array of integers, every element appears twice except for one. Find that single one. Note: Your algorithm should have a linear runtime complexity. Could you implement it without using ext...
分类:其他好文   时间:2015-05-29 18:16:19    阅读次数:142
【leetcode】Contains Duplicate
Given an array of integers, find if the array contains any duplicates. Your function should return true if any value appears at least twice in the arr...
分类:其他好文   时间:2015-05-29 17:26:20    阅读次数:122
Combination Sum III —— LeetCode
Find all possible combinations ofknumbers that add up to a numbern, given that only numbers from 1 to 9 can be used and each combination should be a u...
分类:其他好文   时间:2015-05-29 17:25:09    阅读次数:112
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!