DescriptionHow many nondecreasing subsequences can you find in the sequence S = {s1, s2, s3, ...., sn} ? For example, we assume that S = {1, 2, 3}, an...
分类:
其他好文 时间:
2015-05-01 21:09:15
阅读次数:
136
AWS 免费套餐转载自:https://aws.amazon.com/cn/free/?sc_channel=PS&sc_campaign=acquisition_CN&sc_publisher=baidu&sc_medium=cloud_computing_b&sc_content=aws_e&s...
分类:
其他好文 时间:
2015-05-01 19:56:18
阅读次数:
258
为什么有这个? 由于国内网络原因(你懂的),导致?rubygems.org?存放在 Amazon S3 上面的资源文件间歇性连接失败。所以你会与遇到?gem install rack?或?bundle install的时候半天没有响应,具体可以用?gem...
分类:
其他好文 时间:
2015-04-30 16:24:12
阅读次数:
131
由于国内网络原因(你懂的),导致rubygems.org存放在 Amazon S3 上面的资源文件间歇性连接失败。所以你会与遇到gem install rack或bundle install的时候半天没有响应,具体可以用gem install rails -V来查看执行过程。这是一个完整 rubyg...
分类:
其他好文 时间:
2015-04-30 10:28:02
阅读次数:
132
定位一个map相关的coredump来熟悉一下:
Core was generated by `./xuzhina_dump_c07_s3_ex 5 / 6'.
Program terminated with signal 11, Segmentation fault.
#0 0x00000000 in ?? ()
Missing separate debuginfos, use: debug...
分类:
系统相关 时间:
2015-04-30 01:07:50
阅读次数:
229
iOS 数组排序NSMutableArray *p = [[NSMutableArray alloc] initWithObjects:@"S1",@"S14",@"S3",@"S4",@"S12",@"S6",@"S7",@"S8",@"S9",@"S10",@"S11",@"S5",@"S13"...
分类:
移动开发 时间:
2015-04-29 19:23:53
阅读次数:
139
对于字符串变量:
1、如果使用的类重写了equals()方法,那么equals()比较的是字符串中包含的内容是否相同,否则equals()和==一样比较的是内存地址;
2、==始终比较的是两个变量的内存地址;public class Test1 {
public static void main(String[] args) {
String s1,s2,s3="abc",s4="abc...
分类:
其他好文 时间:
2015-04-29 13:34:34
阅读次数:
145
Block Storage (cinder)8776publicurl and adminurlCompute API (nova-api)8773EC2 API 8774openstack API 8775metadata port 3333accessing S3 APICompute p...
分类:
其他好文 时间:
2015-04-28 11:31:03
阅读次数:
168
Given s1, s2, s3, find whether s3 is formed by the interleaving of s1 and s2.
For example,
Given:
s1 = "aabcc",
s2 = "dbbca",
When s3 = "aadbbcbcac", return true.
When s3 = "aadbbbaccc", ret...
分类:
其他好文 时间:
2015-04-25 00:20:01
阅读次数:
109