摘要:
一段代码目的是想删除集合中包括“a”字符串的集合项:public class TestForeach { public static void main(String[] args){ //ArrayList<String> lists = new ArrayList<String>(); Coll 阅读全文
posted @ 2016-01-27 21:56
zfyouxi
阅读(360)
评论(0)
推荐(0)
摘要:
Machine Learning Lab1 打算把Andrew Ng教授的#Machine Learning#相关的6个实验一一实现了贴出来~ 预计时间长度战线会拉的比較长(毕竟JOS的7级浮屠还没搞定.) ---------------------------------------------- 阅读全文
posted @ 2016-01-27 21:06
zfyouxi
阅读(311)
评论(0)
推荐(0)
摘要:
题目描写叙述 链接地址 解法 题目描写叙述 Find the nth to last element of a singly linked list. The minimum number of nodes in list is n. Example Given a List 3->2->1->5- 阅读全文
posted @ 2016-01-27 19:29
zfyouxi
阅读(130)
评论(0)
推荐(0)
摘要:
A. Dreamoon and Stairs time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Dreamoon wants to 阅读全文
posted @ 2016-01-27 16:53
zfyouxi
阅读(181)
评论(0)
推荐(0)
摘要:
事实上。iOS中的Block就是C++中的函数指针,实现方式都是一样的,以下贴出一个简单的实践。 首先,创建一个回调的类 BlockStudy.h // // BlockStudy.h // BlockStudy // // Created by 杜甲 on 11/11/14. // Copyrig 阅读全文
posted @ 2016-01-27 15:31
zfyouxi
阅读(430)
评论(0)
推荐(0)
摘要:
ios上禁止输入表情 + (BOOL)isContainsEmoji:(NSString *)string { __block BOOL isEomji = NO; [string enumerateSubstringsInRange:NSMakeRange(0, [string length]) 阅读全文
posted @ 2016-01-27 14:35
zfyouxi
阅读(161)
评论(0)
推荐(0)
摘要:
id=1287">NetworkingTime Limit:1000MSMemory Limit:10000KTotal Submissions:5976Accepted:3231DescriptionYou are assigned to design network connections be... 阅读全文
posted @ 2016-01-27 13:25
zfyouxi
阅读(242)
评论(0)
推荐(0)
摘要:
事实上最早的时候也考虑过这个问题,当时还在想须要判定文字的长度么,实在是傻到极点了,原来CSS中本来就有这个样式设置的。而今天正好看到了有这么一篇介绍。细致看了下,感觉还不错,这里也把实验的结果记录下。初始阶段: comedycookidespitelovedescriptiondescripti... 阅读全文
posted @ 2016-01-27 13:23
zfyouxi
阅读(254)
评论(0)
推荐(0)
摘要:
HDURevenge of Segment Tree(第二长的递增子序列)题目链接题目大意:这题是求第二长的递增子序列。解题思路:用n^2的算法来求LIS,可是这里还要记录一下最长的那个序列是否有多种组成方式,假设>= 2, 那么第二长的还是最长的LIS的长度,否则就是LIS - 1;代码:#inc... 阅读全文
posted @ 2016-01-27 12:43
zfyouxi
阅读(214)
评论(0)
推荐(0)
摘要:
大师兄教你怎样过华为机试宝典1—内功心法大华为这个大数据时代土豪金海量式的招聘又要開始了!!!最近听说大华为的校招机试立即就要開始了,因为华为软件岗位的招聘仅仅有技术面跟机试是与技术有关的内容,所以机试的地位非常重要。对于机试,除了长期积累的软件基本功以外,还有非常多能够短期训练的东西,类似于考试之... 阅读全文
posted @ 2016-01-27 12:12
zfyouxi
阅读(2936)
评论(0)
推荐(0)
摘要:
本教程适用于centos安装之前检查nodejs假设没安装nodejs依照下面步骤安装$ su - $ yum install openssl-devel$ cd /usr/local/src$ wget http://nodejs.org/dist/v0.10.29/node-v0.10.29.t... 阅读全文
posted @ 2016-01-27 10:47
zfyouxi
阅读(447)
评论(0)
推荐(0)
摘要:
JS:function truncateNumber(n){return n|0;}測试:console.log(truncateNumber(12.345));浏览器打印出12 阅读全文
posted @ 2016-01-27 08:25
zfyouxi
阅读(194)
评论(0)
推荐(0)
摘要:
由CHRIS DAWSON发表在thenewstack/DATA RESEARCHqianhen123/CHB译 我们分析了Docker的容器库并提出两个问题: 1.Docker的贡献者们感兴趣的其它容器库是什么? 2.Docker的贡献者... 阅读全文
posted @ 2016-01-27 08:08
zfyouxi
阅读(1150)
评论(0)
推荐(0)

浙公网安备 33010602011771号