Design an algorithm to find the kth number such that the only prime factors are 3, 5, and 7.The eligible numbers are like 3, 5, 7, 9, 15 ...ExampleIf ...
分类:
其他好文 时间:
2014-12-25 08:43:45
阅读次数:
240
Android 5.0,代号 Lollipop,源码终于在2014年12月3日放出,国内一大批厂商跟进。最大的改变是默认使用 ART(Android Runtime) ,替换了之前的 Dalvik 虚拟机,提出了 Material Design 界面风格。之前发布的 app 可能需要作一些改动,.....
分类:
移动开发 时间:
2014-12-24 19:50:59
阅读次数:
284
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. You may complete a...
分类:
其他好文 时间:
2014-12-24 11:20:46
阅读次数:
184
c++:
《c++程序设计》
《c++primer》
《effective c++》
《more effective c++》
《深入探索c++对象模型》
《泛型编程与STL》
《STL源码剖析》
数据结构与算法:
《算法导论》
《introduction of the design and analysis of algorithm》
《数据结构与算法分析:c语言描...
分类:
其他好文 时间:
2014-12-24 00:04:18
阅读次数:
162
Java开发中的23种设计模式详解(转)设计模式(Design Patterns) ——可复用面向对象软件的基础设计模式(Design pattern)是一套被反复使用、多数人知晓的、经过分类编目的、代码设计经验的总结。使用设计模式是为了可重用代码、让代码更容易被他人理解、保证代 码可靠性。 毫无疑...
分类:
编程语言 时间:
2014-12-23 20:50:14
阅读次数:
323
一、Mvc与wcf 相对WCF的部署MVC还是有点麻烦,我们要考虑哪些dll是不需要的,哪些是要拷贝到本地的。而WCF因为有些配置文件不支持,我们只需要在配置wcf时不使用配置文件而直接使用代码就行了。二、MVC部署 开发环境:VS2013 +Mono 3.10.0+Jexus5.6.3 +.ne....
分类:
Web程序 时间:
2014-12-23 19:07:34
阅读次数:
186
题目:
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 th...
分类:
其他好文 时间:
2014-12-23 00:22:19
阅读次数:
227
转文:本篇博客翻译自:http://blog.mongodb.org/post/87200945828/6-rules-of-thumb-for-mongodb-schema-design-part-1?mkt_tok=3RkMMJWWfF9wsRonsq7Ldu%2FhmjTEU5z14uUsUK...
分类:
数据库 时间:
2014-12-22 17:52:03
阅读次数:
185
说明:一直想入手QT,看了相关的教程也有一段时间了,但苦于安装QT编辑器一直没有成功,今天手痒痒,于是又来捣鼓一阵子,成功了,特记录下来,方便日后查阅:环境:win7 x64 + QT Creator3.3 + MinGW 491+Qt design 5.4QT在Windows操作系统下的三种编程环...
分类:
其他好文 时间:
2014-12-22 15:49:25
阅读次数:
158
今晚,看了一整晚的电影,下载了一整晚的$GTA4$(13G啊 卧槽。。。),额最近迅雷好像很不给力,下载速度很慢,外加今天考了六级,听力真是跪死-。-, 睡觉前做了一道$usaco$,最近很少做题啊QAQ===========================华丽的主题分割线=============...
分类:
其他好文 时间:
2014-12-21 07:02:06
阅读次数:
213