《这是一篇童话》——刘丁宁
就像安徒生童话《野天鹅》里的小公主爱丽莎,为了十一个哥哥,可以不说一句话,甘之如饴地赤脚踏过荆棘,空手采摘荨麻,日夜不停地编织十一件大衣,宁愿被人当做巫师差点活活烧死……
也如冬小麦,秋种,越冬,春季返青,夏季收粮,等待属于自己的那个“one summer's day”那个夏天……
童话的意思,一是孩子说的话,不必放在心上;二是童话的意蕴:“过程也许会坎坷,但结局...
分类:
其他好文 时间:
2014-06-30 10:07:05
阅读次数:
141
【题目】
Given a string s and a dictionary of words dict, determine if s can be segmented into a space-separated sequence of one or more dictionary words.
For example, given
s = "leetcode",
dict = ["leet", "code"].
Return true because "leetcode" can be segm...
分类:
其他好文 时间:
2014-06-30 09:02:26
阅读次数:
276
atitit.团队建设o6o fix
#----- 无限放大梦想 2
要有自己的方向...主动添加自己的东东.. 3
有几个tech site,能晓得最新的的知识.. 3
有问题多交流, 3
失败的造成都是时机不对,不是成员无能 3
是beos不明,不是无才...
3
过去的失败不能说明一个人无能.. 3
使用商量的口吻说:你能不能帮俄... 3
all big ti...
分类:
其他好文 时间:
2014-06-30 06:30:34
阅读次数:
563
【题目】
Given a string s and a dictionary of words dict, add spaces in s to construct a sentence where each word is a valid dictionary word.
Return all such possible sentences.
For example, given
s = "catsanddog",
dict = ["cat", "cats", "and", "sand", "dog...
分类:
其他好文 时间:
2014-06-30 00:51:41
阅读次数:
295
题目
Given a string s1, we may represent it as a binary tree by partitioning it to two non-empty substrings recursively.
Below is one possible representation of s1 = "great":
great
/...
分类:
其他好文 时间:
2014-06-29 23:16:19
阅读次数:
312
【题目】
Given an array of integers, every element appears three times except for one. Find that single one.
Note:
Your algorithm should have a linear runtime complexity. Could you implement it without using extra memory?
【题意】
给定一个整数以外,其中除了一个整数只出现一次以外...
分类:
其他好文 时间:
2014-06-29 22:52:35
阅读次数:
246
题目
Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O(n).
For example,
S = "ADOBECODEBANC"
T = "ABC"
Minimum wi...
Given a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there exists one unique longest pa...
分类:
其他好文 时间:
2014-06-29 20:28:58
阅读次数:
183
def new # @foo = Foo.new @foos = Foo.find(:all,:conditions=>["project_id = #{@project.id}"]) @foolist = @foos.map do |f| { :id => f.id...
分类:
其他好文 时间:
2014-06-29 20:19:48
阅读次数:
437
Almost one year ago, I checked how different cache settings affected KVM storage subsystem performance. Results were very clear: to obtain good I/O sp...
分类:
系统相关 时间:
2014-06-29 19:47:59
阅读次数:
448