原题链接在这里:https://leetcode.com/problems/minimum-absolute-difference-in-bst/#/description 题目: Given a binary search tree with non-negative values, find t ...
分类:
其他好文 时间:
2017-04-07 09:43:26
阅读次数:
181
使用Sqoop远程连接MySQL导入数据到HBase数据库: 出现了拒绝连接的错误: 把主机名换成IP地址就正常了。 ...
分类:
其他好文 时间:
2017-04-06 01:09:21
阅读次数:
507
Strom是分布式实时计算系统,它对于实时计算的意义类似于hadoop对于批处理的意义。与Storm关系密切的语言:核心代码用clojure书写,实用程序用python开发,使用java开发拓扑。 Storm的适用场景 1.流数据处理。Storm可以用来处理源源不断流进来的消息,处理之后将结果写入到 ...
分类:
其他好文 时间:
2017-04-05 19:22:32
阅读次数:
252
原题目 A Magic Lamp Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3964 Accepted Submission(s): 160 ...
分类:
编程语言 时间:
2017-04-04 20:12:11
阅读次数:
251
Telephone Lines Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 6785 Accepted: 2498 Description Farmer John wants to set up a telephone lin ...
分类:
其他好文 时间:
2017-04-04 20:09:39
阅读次数:
261
BLOCK OF THE WEEK: HAY BALE本周方块:干草块The horse chow treat that's safe to fall for马儿的美味食物,摔在上面也安全 Spring is here! The sun is shining, birds are singing, ...
分类:
Web程序 时间:
2017-04-04 09:47:28
阅读次数:
305
Leo has a grid with N × N cells. He wants to paint each cell with a specific color (either black or white). Leo has a magical brush which can paint an ...
分类:
编程语言 时间:
2017-04-02 21:49:13
阅读次数:
292
Python从设计之初就已经是一门面向对象的语言,正因为如此,在Python中创建一个类和对象是很容易的。 面向对象技术简介 类(Class): 用来描述具有相同的属性和方法的对象的集合。它定义了该集合中每个对象所共有的属性和方法。对象是类的实例。 类变量:类变量在整个实例化的对象中是公用的。类变量 ...
分类:
编程语言 时间:
2017-04-02 17:30:40
阅读次数:
205
一.babel转换器:babel.js.io; 二.变量声明. 1.块级作用域let: 2.常量const:一旦声明不可改变,一般用来引入模块,例如:const moment=require("moment"); 三.类Class 四.箭头函数arrow function 1.简化写法 2.使用箭头 ...
分类:
其他好文 时间:
2017-04-02 00:35:52
阅读次数:
160
According to the tutorials (http://circos.ca/documentation/tutorials/), to draw a graph using circos, at least three files needed. Download the softwa ...
分类:
其他好文 时间:
2017-04-01 00:51:21
阅读次数:
339