码迷,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-09-22 23:28:53    阅读次数:160
LeetCode Valid Number
class Solution {public: // a valid number should be in the below form // -/+digit.digitE/e+/-digit bool isNumber(const char *s) { if (...
分类:其他好文   时间:2014-09-22 12:05:32    阅读次数:180
Leetcode: LRU Cache
Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and set.get(key) - Get the ...
分类:其他好文   时间:2014-09-21 07:23:30    阅读次数:370
NYOJ-a letter and a number
a letter and a number 时间限制:3000 ms  |  内存限制:65535 KB 难度:1 描述we define f(A) = 1, f(a) = -1, f(B) = 2, f(b) = -2, ... f(Z) = 26, f(z) = -26; Give you a letter x and a number y , you should...
分类:其他好文   时间:2014-09-20 17:26:19    阅读次数:192
Leetcode: Median of Two Sorted Arrays
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 ...
分类:其他好文   时间:2014-09-20 05:40:07    阅读次数:282
为web.config创建web.xsd
Give this a shot. In Visual Studio 2010, open your app.config or web.config file. Go to the XML menu and select Create Schema. This action should crea...
分类:Web程序   时间:2014-09-20 03:32:36    阅读次数:231
Ten C++11 Features Every C++ Developer Should Use
原版:http://www.codeproject.com/Articles/570638/Ten-Cplusplus-Features-Every-Cplusplus-Developer译版:http://blogs.ejb.cc/archives/7190/top-10-new-features...
分类:编程语言   时间:2014-09-20 01:03:46    阅读次数:228
【MongoDB】Serveral common command of MongoDb
In the recent days, since the overwork made me exhaused, on arrival to home I will go to bed, which leads to loss of blogs that should have been written in the past days.  Now  I make a summay to all...
分类:数据库   时间:2014-09-19 02:20:04    阅读次数:323
Single Number
Given an array of integers, every element appears twice except for one. Find that single one. Note: Your algorithm should have a linear runtime compl....
分类:其他好文   时间:2014-09-18 23:33:14    阅读次数:292
Leetcode_num1_Single Number
好久没有做题啦,从今天开始刷Leetcode的题,希望坚持的时间能长一点。先从ac率最高的Single Number开始吧。 题目: Given an array of integers, every element appears twice except for one. Find that single one. Note: Your algorithm should hav...
分类:其他好文   时间:2014-09-17 20:30:53    阅读次数:254
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!