码迷,mamicode.com
首页 >  
搜索关键字:should be repaired    ( 4956个结果
LeetCode OJ - LRU Cache
题目: Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations:getandset. get(key)- Get ...
分类:其他好文   时间:2014-05-16 05:42:29    阅读次数:280
JAVA年度安全 第六周 防止CSRF
本系列的译文暂停很久了,今后每周一篇直至完成 原文地址: http://www.jtmelton.com/2012/02/07/year-of-security-for-java-week-6-csrf-prevention-in-java/ Whatis it and why should I care? 跨站点请求伪造(CSRF)是指受害者当被一个网站授权后,在其未知觉的情况下...
分类:编程语言   时间:2014-05-15 05:39:02    阅读次数:322
[LeetCode]ZigZag Conversion
Write the code that will take a string and make this conversion given a number of rows: P A H N A P L S I I G Y I R convert("PAYPALISHIRING", 3) should return "PAHNAPLSIIGYIR"....
分类:其他好文   时间:2014-05-15 04:49:04    阅读次数:311
leetCode-002 Median of Two Sorted Arrays
leetCode-002 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 O(log (m+n)). 【题意】 有两个有序的数组,找出这两数组整合后的中位数,要求时间复杂度O(nlogn)...
分类:其他好文   时间:2014-05-15 04:42:05    阅读次数:274
LeetCode-001 Two Sum
LeetCode-001 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 index1 must be less than index2...
分类:其他好文   时间:2014-05-15 04:34:50    阅读次数:293
【LeetCode】Spiral Matrix II
Given an integern, generate a square matrix filled with elements from 1 ton2in spiral order.For example,Givenn=3,You should return the following matri...
分类:其他好文   时间:2014-05-12 19:53:23    阅读次数:332
名人名言
凡事皆宜尽力简化,只要不失之草率。everything should be made as simple as possible, but not simpler.trynottobecomeamanofsuccess,butrather,amanofvalue
分类:其他好文   时间:2014-05-12 00:06:21    阅读次数:277
设计模式中的六大设计原则之三,四
3.依赖倒置原则:High level modules should not depend upon low level modules. Both should depend upon abstractions. Abstractions should not depend upon details. Details should depend upon abstractions. 意思是:高...
分类:其他好文   时间:2014-05-11 22:15:36    阅读次数:326
hust 1102 Constructing Roads
Problem DescriptionThere are N villages, which are numbered from 1 to N, and you should build some roads such that every two villages can connect to e...
分类:其他好文   时间:2014-05-10 02:28:50    阅读次数:374
filter press supplier
Next to your sewing machine, your iron is your most important piece of equipment for sewing. For the best results with your sewing projects you should...
分类:其他好文   时间:2014-05-09 20:43:40    阅读次数:480
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!