码迷,mamicode.com
首页 >  
搜索关键字:least    ( 1796个结果
Android开发学习---template requires a minimum SDK version of at least 7,build target API version of 14
adt22.6.3的bug当adt更新到22.6.3,其编辑器中最低支持api7,即android 2.1,这里可能是google故意这么做的,也可能是其bug.其target sdk 和compile sdk最低都为14,即anroid 4.0,这里建议都设为最高的api 19,即android ...
分类:移动开发   时间:2014-05-29 02:43:25    阅读次数:607
高命中缓存设计流程整理篇
在之前的文章中简单描述了一下如何通过LRU结合多层缓存机制实现高命中的缓存,这一章节里的主要内容是深入地了解其原理的实现.LRU算法什么是LRU算法? LRU是Least Recently Used的缩写,即最少使用页面置换算法,是为虚拟页式存储管理服务的.通过这种算法可以把最近使用的数据迁移到数据...
分类:其他好文   时间:2014-05-28 21:19:55    阅读次数:308
MySQL索引简介
在数据库表中,使用索引可以大大提高查询速度。All storage engines support at least 16 indexes per table and a total index length of at least 256 bytes. Most storage engines h...
分类:数据库   时间:2014-05-26 21:23:17    阅读次数:349
tomcat无法启动
在win7上明明已经安装了JDK1.6并设置好了JAVA_HOME,可偏偏Tomcat在启动过程中找不到。报错信息如下:Neither the JAVA_HOME nor the JRE_HOME environment variable is defined At least one of the...
分类:其他好文   时间:2014-05-26 13:14:11    阅读次数:355
acd LCM Challenge(求1~n的任意三个数的最大公倍数)
Problem Description Some days ago, I learned the concept of LCM (least common multiple). I've played with it for several times and I want to make a big number with it. But I also don't want to use...
分类:其他好文   时间:2014-05-25 16:39:53    阅读次数:266
ACdream1077:LCM Challenge
Problem Description Some days ago, I learned the concept of LCM (least common multiple). I've played with it for several times and I want to make a big number with it. But I also don't want to use...
分类:其他好文   时间:2014-05-25 16:32:49    阅读次数:214
LeetCode: Maximum Subarray [052]
【题目】 Find the contiguous subarray within an array (containing at least one number) which has the largest sum. For example, given the array [?2,1,?3,4,?1,2,1,?5,4], the contiguous subarray [4,?1,2,1] has the largest sum = 6. 【题意】 给定一个数组,找出和最大的子数组,返回...
分类:其他好文   时间:2014-05-24 22:19:17    阅读次数:260
【LeetCode】LRU Cache
Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations:getandset.get(key)- Get the valu...
分类:其他好文   时间:2014-05-23 09:59:05    阅读次数:257
5.查找最小的k个元素
Find K least numbers.
分类:其他好文   时间:2014-05-22 05:06:26    阅读次数:305
LRU的C++实现引申出的迭代器问题
leetcode上刷题。碰到一题实现LRU算法的题目。LRU,Least recently used。是一种常见的cache和页面替换算法。算法和原理可以参阅相关wiki。leetcode上的这一题,时间要求很苛刻,如果达不到O(1)复杂度的话,基本上会TLE。所以,这一题如果用C++来解的话,需要...
分类:编程语言   时间:2014-05-22 03:34:16    阅读次数:353
1796条   上一页 1 ... 176 177 178 179 180 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!