A man can fail many times, but he isn't a failure until he begins to blame somebody else.—— J. Burroughs一个人可以失败许多次,但是只要他没有开始责怪别人,他还不是一个失败者。——巴勒斯
分类:
其他好文 时间:
2014-07-16 23:20:38
阅读次数:
203
There are simply no limits on how many bags of jute and denim are available. You can find them in all sorts of patterns and colors that bring joy to u...
分类:
其他好文 时间:
2014-07-16 23:09:32
阅读次数:
190
多重性关系可以是Optional(一个属性可拥有一个单个实例或没有)Required(一个属性必须拥有一个单个实例)Many很多的(一个属性可以拥有一个集合或一个单个实例)。Has方法包括如下几个:? HasOptional? HasRequired? HasMany在多数情况还需要在Has方法后面...
分类:
其他好文 时间:
2014-07-10 12:53:30
阅读次数:
241
Given n, how many structurally unique BST's (binary search trees) that store values 1...n?For example,Given n = 3, there are a total of 5 unique BST's...
分类:
其他好文 时间:
2014-06-27 18:22:07
阅读次数:
191
我这段时间在用redis,感觉挺方便的,但比较疑惑在选择内存数据库的时候到底什么时候选择redis,什么时候选择memcache,然后就查到下面对应的资料,是来自redis作者的说法(stackoverflow上面)。 You should not care too much about per.....
分类:
其他好文 时间:
2014-06-27 16:02:52
阅读次数:
253
How many prime numbersTime Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 7352 Accepted Submission(s)...
分类:
其他好文 时间:
2014-06-26 21:05:55
阅读次数:
209
Today,it`s my first day to start a new lesson with c#!At first ,I want to study it just because java is a old language ,and run slower than c# many pe...
分类:
其他好文 时间:
2014-06-26 16:46:23
阅读次数:
191
最近网站出现 User 数据库名称 has already more than 'max_user_connections' active connections 的报错,网站瘫痪。有必要研究下这个问题。max_user_connections 是 MySQL 用户连接数的最大值设置,整段语句的意思...
分类:
数据库 时间:
2014-06-25 11:06:23
阅读次数:
246
Follow up for "Unique Paths":Now consider if some obstacles are added to the grids. How many unique paths would there be?An obstacle and empty space i...
分类:
其他好文 时间:
2014-06-25 09:17:03
阅读次数:
159
【题目】
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 complete as many transactions as you like (ie, buy one and sell one share of the stock multiple times). H...
分类:
其他好文 时间:
2014-06-24 19:40:53
阅读次数:
240