设计模式(Design Patterns) ——可复用面向对象软件的基础设计模式(Design pattern)是一套被反复使用、多数人知晓的、经过分类编目的、代码设计经验的总结。使用设计模式是为了可重用代码、让代码更容易被他人理解、保证代码可靠性。 毫无疑问,设计模式于己于他人于系统都是多赢的,设...
分类:
编程语言 时间:
2014-07-07 19:32:40
阅读次数:
486
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
这是Riot的Design Director Tom Cadwell专门为中国玩家写的解说匹配系统工作原理的帖子。同一时候为了让大家更好的理解匹配系统,假设您认为您遇到了特别不公平的匹配,请回复游戏開始时间和比赛结束截图,我们会调查该局匹配是怎样完毕的,坑爹的玩家是为何添?到这一局的。非常多人抱怨看...
分类:
其他好文 时间:
2014-06-30 14:16:23
阅读次数:
238
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
【题目】
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