这题考点在于需要设置两个visited数组 Two Queue and add all the Pacific border to one queue; Atlantic border to another queue. Keep a visited matrix for each queue. I ...
分类:
其他好文 时间:
2016-12-03 14:58:36
阅读次数:
234
源码的解析在官网都已经写的非常详细,可以参考:http://dubbo.io/Developer+Guide-zh.htm 服务提供者暴露一个服务的详细过程 首先ServiceConfig类拿到对外提供服务的实际类ref(如:HelloWorldImpl),然后通过ProxyFactory类的get ...
分类:
其他好文 时间:
2016-12-03 01:18:46
阅读次数:
312
简介 Gulp是一个基于流的自动化构建器。 安装 创建文件 gulpfile.js 运行 安装插件 功能说明: 更多插件清单:http://gratimax.github.io/search-gulp-plugins/ jshint插件基本用法: 比较全的用法: Ionic 项目中使用gulp io ...
分类:
其他好文 时间:
2016-12-02 18:32:45
阅读次数:
318
http://superuser.com/questions/414110/vim-save-a-file-as-a-different-filename-but-keep-w-as-the-current-filename :w someOtherFile.c it will write to t ...
分类:
系统相关 时间:
2016-12-02 14:10:04
阅读次数:
263
anticipate预料=except
ant蚂蚁icic卡ipip卡ate吃
我没有预料到小蚂蚁把我的ic,ip卡吃掉了。
robust强壮的=strong
rorong容祖儿bu不st石头
容祖儿不喜欢强壮的石头。
maintain维持=keep
main主要的(大陆)tain台湾
大陆和台湾维持着若即若离的关系。
设计模式之工厂方法模式
..
分类:
其他好文 时间:
2016-11-30 23:22:17
阅读次数:
196
Articles Forward from Locking in Microsoft SQL Server (Part 12 – Lock Escalation) Today I’d like us to talk about Lock Escalation in Microsoft SQL Ser ...
分类:
数据库 时间:
2016-11-30 11:29:30
阅读次数:
370
1.上传zk安装包2.解压3.配置(先在一台节点上配置) 3.1添加一个zoo.cfg配置文件 $ZOOKEEPER/conf mv zoo_sample.cfg zoo.cfg 3.2修改配置文件(zoo.cfg) dataDir=/loong/zookeeper-3.4.5/data serve ...
分类:
其他好文 时间:
2016-11-30 01:51:13
阅读次数:
179
写一个 function,它浏览数组(第一个参数)并返回数组中第一个通过某种方法(第二个参数)验证的元素。 思路 Array.filter() 的返回值是通过测试元素的新数组。截取到这个数组索引为0的值即可。 ...
分类:
其他好文 时间:
2016-11-29 17:01:17
阅读次数:
117
Scala's object-oriented collections support mutable and immutable type hierarchies. Also support functional higher-order operations such as map, filte ...
分类:
其他好文 时间:
2016-11-29 06:37:20
阅读次数:
211