Problem Description:Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations:getandset.ge...
分类:
其他好文 时间:
2014-07-07 16:41:12
阅读次数:
237
昨天看了Head First设计模式这本书,这本书写得真不错,简单易懂。我是第一次接触设计模式,觉得这东西挺高端大气的,和别人侃的时候,我用啥XX设计模式,是不是觉得很屌的感觉?哈哈,开玩笑了,主要是学习前人的经验,这样让自己的代码设计更加规范。现在就记录一下我学到的第一个设计模式---Obse.....
分类:
其他好文 时间:
2014-07-07 16:16:24
阅读次数:
276
Problem Description:Say you have an array for which theithelement is the price of a given stock on dayi.Design an algorithm to find the maximum profit...
分类:
其他好文 时间:
2014-07-07 16:05:24
阅读次数:
229
Problem Description:Say you have an array for which theithelement is the price of a given stock on dayi.Design an algorithm to find the maximum profit...
分类:
其他好文 时间:
2014-07-07 15:24:41
阅读次数:
212
oop design 分为以下几个方面:- encapsulation and modularity(封装和模块化)- API/Client interface design(API 接口给调用类者)- Inheritance hierarchy and interfaces(继承和继承的层次关系)...
分类:
其他好文 时间:
2014-06-30 22:43:00
阅读次数:
302
Android L 开发者预览版包含了支持Material Design的Apps。Material Design是一个综合的视觉指南、运动和交互设计平台。在你的应用中可以按照material design 规范中定义的准则以及使用新的组件和功能在Android开发人员预览版。...
分类:
其他好文 时间:
2014-06-30 09:33:15
阅读次数:
341
题目: 基于JSP的学术交流论坛系统的设计与实现
The Design and Implementation of Academic
Exchange BBS System Based on the JSP...
分类:
Web程序 时间:
2014-06-30 08:53:08
阅读次数:
485
使用Material Design设计你的应用...
分类:
其他好文 时间:
2014-06-30 07:42:24
阅读次数:
278
题目
The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows
like this: (you may want to display this pattern in a fixed font for better legibility)
P A H N
A...
分类:
其他好文 时间:
2014-06-30 00:07:36
阅读次数:
268
【题目】
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 value (will always be positive) of the key if the key exists in the cache, otherwise return -1.
se...
分类:
其他好文 时间:
2014-06-29 22:45:26
阅读次数:
358