码迷,mamicode.com
首页 >  
搜索关键字:recently    ( 891个结果
LRU算法的设计
一道LeetCode OJ上的题目,要求设计一个LRU(Least Recently Used)算法,题目描述如下:Design and implement a data structure for Least Recently Used (LRU) cache. It should support...
分类:编程语言   时间:2014-11-19 13:51:25    阅读次数:222
LRU
LRU是Least Recently Used算法的简称,在linux的内存页框管理里面用到。[LeetCode][01]上排名第一的就是这个算法。 有一个cache,大小固定,采用链表存储。当有数据时,放到链表头。如果大小溢出,则删除尾节点。...
分类:其他好文   时间:2014-11-19 11:35:37    阅读次数:192
D - Cow Ski Area
DescriptionFarmer John's cousin, Farmer Ron, who lives in the mountains of Colorado, has recently taught his cows to ski. Unfortunately, his cows are ...
分类:其他好文   时间:2014-11-15 21:45:47    阅读次数:268
POJ 1052 MPI Maelstrom
MPI MaelstromTime Limit:1000MSMemory Limit:10000KTotal Submissions:5547Accepted:3458DescriptionBIT has recently take...
分类:其他好文   时间:2014-11-15 11:12:42    阅读次数:245
what is apache2 ?
I was recently allocated a virtuoal server with apache installed. I tried to inspect the installation of apache and see if some back-end processes are...
分类:Web程序   时间:2014-11-13 06:59:33    阅读次数:210
POJ 3268 Bookshelf 2 动态规划法题解
Description Farmer John recently bought another bookshelf for the cow library, but the shelf is getting filled up quite quickly, and now the only available space is at the top. FJ has N cows (1 ≤ ...
分类:其他好文   时间:2014-11-12 09:21:52    阅读次数:238
[ACM] HDU 3398 String (从坐标0,0走到m,n且不能与y=x-1相交的方法数,整数唯一分解定理)
String Problem Description Recently, lxhgww received a task : to generate strings contain '0's and '1's only, in which '0' appears exactly m times, '1' appears exactly n times. Also, any prefix ...
分类:其他好文   时间:2014-11-11 21:10:17    阅读次数:520
LRU Cache (9)
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-11-08 23:28:09    阅读次数:295
POJ1502(Dijkstra)
MPI Maelstrom Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 5538   Accepted: 3451 题目链接: Description BIT has recently taken delivery of their new supercomp...
分类:其他好文   时间:2014-11-07 22:08:38    阅读次数:179
调整linux内核尽量用内存,而不用swap
线上一台服务器kswapd0占用大量的cpu资源,导致负载过高,什么是kswapd0?Linuxuseskswapdforvirtualmemorymanagementsuchthatpagesthathavebeenrecentlyaccessedarekeptinmemoryandlessactivepagesarepagedouttodisk.(whatisapage?)…Linuxusesmanagesmemoryinunitscalledpage..
分类:系统相关   时间:2014-11-07 15:08:01    阅读次数:275
891条   上一页 1 ... 74 75 76 77 78 ... 90 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!