码迷,mamicode.com
首页 >  
搜索关键字:structure    ( 2775个结果
SSH,idea,Tomcat配置
编译编码环境Idea,使用SSH后台框架,以及Tomcat6.0进行项目开发。将项目checkout下来后,在Project Structure中进行设置:Tomcat配置方法:
分类:其他好文   时间:2014-09-23 19:18:35    阅读次数:205
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
Why isn't sizeof for a struct equal to the sum of sizeof of each member?
check here.Basically the compiler will insert unused memory into a structure so that data members are optimally aligned for better performance.
分类:其他好文   时间:2014-09-19 05:31:24    阅读次数:270
Leetcode: Recover Binary Search Tree
Two elements of a binary search tree (BST) are swapped by mistake.Recover the tree without changing its structure.Note:A solution using O(n) space is ...
分类:其他好文   时间:2014-09-19 01:06:54    阅读次数:301
[leetcode] LRU Cache @ Python
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-09-16 03:53:49    阅读次数:270
static dictionary methods of text compression
Now I will introduce a way to compress a text. When we are confronted with numerous data, and the data has a similar structure, we can take advantag.....
分类:其他好文   时间:2014-09-13 20:07:25    阅读次数:182
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-09-13 20:05:25    阅读次数:225
二叉排序树(二叉查找树)
参考:http://student.zjzk.cn/course_ware/data_structure/web/chazhao/chazhao9.3.1.1.htm 1 #include "stdafx.h" 2 #include 3 4 typedef int InfoType; ...
分类:其他好文   时间:2014-09-11 11:03:41    阅读次数:169
转:线性表的查找-顺序查找
转自:http://student.zjzk.cn/course_ware/data_structure/web/chazhao/chazhao9.2.1.htm顺序查找(Sequential Search) 在表的组织方式中,线性表是最简单的一种。顺序查找是...
分类:其他好文   时间:2014-09-10 19:30:10    阅读次数:269
转:线性表的查找-二分查找
转自:http://student.zjzk.cn/course_ware/data_structure/web/chazhao/chazhao9.2.2.1.htm二分查找1、二分查找(Binary Search) 二分查找又称折半查找,它是一种效率较高的查找方法...
分类:其他好文   时间:2014-09-10 19:25:40    阅读次数:305
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!