My story happened in the winter of 2012, the first year I began to work in Beijing. It was a cold weekend, and I went skiing with two of my coworker.....
分类:
其他好文 时间:
2014-10-26 01:38:41
阅读次数:
142
Solution: when see question about two strings , DP should be considered first.We can abstract this question to calculate appear times for string T wit...
分类:
其他好文 时间:
2014-10-26 00:12:57
阅读次数:
211
上一篇我们简单的介绍了一下RoboGuice的使用( 【四】注入框架RoboGuice使用:(Your First System Service Injection)),今天我们来看下普通Java对象的使用注解的方法:
(一)为了在Activity中普通Java对象使用注解,必须实现以下两个步骤:
①:创建继承RoboActivity的Activity
...
分类:
其他好文 时间:
2014-10-25 23:04:55
阅读次数:
303
上一篇我们简单的介绍了一下RoboGuice的使用(【三】注入框架RoboGuice使用:(Your
First Resource Injection)),今天我们来看下系统服务的使用注解的方法:
为了在Activity中系统服务使用注解,必须实现以下两个步骤:
①:创建继承RoboActivity的Activity
②:使用 @...
分类:
其他好文 时间:
2014-10-25 21:36:05
阅读次数:
264
问题描述:
Given numRows, generate the first numRows of Pascal's triangle.
For example, given numRows = 5,
Return
[
[1],
[1,1],
[1,2,1],
[1,3,3,1],
[1,4,6,4,1]
]
import java.util.Arr...
分类:
其他好文 时间:
2014-10-25 21:28:57
阅读次数:
205
Problem Description
A school bought the first computer some time ago(so this computer's id is 1). During the recent years the school bought N-1 new computers. Each new computer was connected to one...
分类:
其他好文 时间:
2014-10-25 18:51:08
阅读次数:
133
以我的经验,大部分技术,熟读下列四类书籍就可以。入门,用浅显的语言和方式讲述正确的道理和方法,如head first系列全面,巨细无遗地探讨每一个细节,遇到疑难问题时往往能够在这里得到理论解答,如Definitive Guide/Programming xx系列实践,结合实际中常常遇到的情景环境,来...
分类:
编程语言 时间:
2014-10-25 18:37:08
阅读次数:
221
开篇序言:四人帮的设计模式对于我这个菜鸟看着打瞌睡,后面果断买了一本head first的,感觉还可以像看报纸似的,花了一个寒假的晚上看了大半,确实内容也挺吸引人的,讲的很风趣。否则我也不可能,大过年的小伙伴们还在外面耍,自己还在那里装B。可是看完的困惑也随之而来,我怎么才能熟练的操练这些模式呢!书...
分类:
其他好文 时间:
2014-10-25 18:34:35
阅读次数:
282
Implement strStr().
Returns a pointer to the first occurrence of needle in haystack, or null if needle is not part of haystack.
class Solution {
public:
char *strStr(char *haystack, char *ne...
分类:
其他好文 时间:
2014-10-25 17:22:28
阅读次数:
122
A -Integer InquiryTime Limit:3000MSMemory Limit:0KB64bit IO Format:%lld & %lluSubmitStatusDescriptionInteger InquiryOne of the first users of BIT's ne...
分类:
其他好文 时间:
2014-10-25 15:51:01
阅读次数:
195