23种设计模式设计模式- 可复用面向对象软件的基础Design Patterns- Elements of Reusable Object-Oriented Software一、前言 使用设计模式的根本原因是为了代码复用,增加可维护性。 设计模式是前辈们在做各种优化时的运用总结,其实本质上是没有.....
分类:
其他好文 时间:
2014-08-15 23:40:19
阅读次数:
224
看了Google I/O后,对Material Design,电池省电模式等感到非常好奇,于是决定刷Android L 爽一把。
比较让人讨厌的是每次刷机后,之前装的app的数据,都会被erase掉,还得重装一遍。
好奇心趋势吧,终于刷了Android L。刷机过程参考Google官方网站介绍,还挺容易的。
https://developers.google.com/android/nexu...
分类:
移动开发 时间:
2014-08-15 14:44:28
阅读次数:
198
Count Color
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 35248
Accepted: 10622
Description
Chosen Problem Solving and Program design as an optional co...
分类:
其他好文 时间:
2014-08-15 12:52:18
阅读次数:
191
原型模式 Prototype原型模式:用原型实例指定创建对象的种类,并且通过拷贝这个原型来创建新的对象。
分类:
其他好文 时间:
2014-08-14 23:44:06
阅读次数:
214
Say you have an array for which the ith element is the price of a given stock on day i.Design an algorithm to find the maximum profit. You may complet...
分类:
其他好文 时间:
2014-08-14 23:19:46
阅读次数:
240
Say you have an array for which the ith element is the price of a given stock on day i.Design an algorithm to find the maximum profit. You may complet...
分类:
其他好文 时间:
2014-08-14 23:05:56
阅读次数:
165
国内外各大互联网公司,都有UEx/d|UCD|CDC(Customer Research & User Experience Design Center)团队。在很多公司会认为,合格的产品经理应该具备技术能力。从另一些角度思考,是否技术人员也需要拥有产品策划能力或设计能力?技术思维与产品思维是相辅相...
分类:
Web程序 时间:
2014-08-14 10:23:08
阅读次数:
251
Description
Chosen Problem Solving and Program design as an optional course, you are required to solve all kinds of problems. Here, we get a new problem.
There is a very long board with length L...
分类:
其他好文 时间:
2014-08-13 22:28:57
阅读次数:
401
Description
Karel is a robot who lives in a rectangular coordinate system where each place is designated by a set of integer coordinates (x and y). Your job is to design a program that will help ...
分类:
其他好文 时间:
2014-08-13 01:17:24
阅读次数:
312
Singleton Model是一个比较简单的模式,类图结构也很简单,不过实现却是有好几个版本。 为什么会有单例模式?在一些共享资源上,他要求全局一致的处理结构。一些全局的资源,比如线程池,缓冲区等需要又要给类来管理这些资源,这个类实例化时候只能实例化一个,否则如果出现多个实例会出现多个对象对...
分类:
其他好文 时间:
2014-08-12 21:57:15
阅读次数:
201