一.数组的三种方式总结 1.创建数组 Java语言使用new操作符来创建数组,语法如下: 上面的语法语句做了两件事: 一、使用 dataType[arraySize] 创建了一个数组。 二、把新创建的数组的引用赋值给变量 arrayRefVar。 一、使用 dataType[arraySize] 创 ...
分类:
编程语言 时间:
2019-04-23 17:22:02
阅读次数:
257
第一步:下载及安装。 1、首先进入apache的官网网址:www.apache.org 2.点击 projects 3.进入tomcat下载页面。 4.点击tomcat 9 5.认准是Binary Distrbutions的目录,然后在点击下载 64-bit Windows zip(pgp,sha5 ...
分类:
Web程序 时间:
2019-04-22 20:52:22
阅读次数:
205
1 概念 LSM = Log Structured Merge Trees 来源于google的bigtable论文。 2 解决问题 传统的数据库如MySql采用B+树存放数据,B+树是一个随机读写的数据结构。 我们知道,顺序读写要比随机读写快无数倍,所以需要把数据结构改成顺序读写。 3 应用场景 ...
分类:
其他好文 时间:
2019-04-22 12:31:21
阅读次数:
116
题目: Given two binary trees and imagine that when you put one of them to cover the other, some nodes of the two trees are overlapped while the others a ...
分类:
编程语言 时间:
2019-04-22 00:12:46
阅读次数:
161
After a terrifying forest fire in Berland a forest rebirth program was carried out. Due to it N rows with M trees each were planted and the rows were ...
分类:
其他好文 时间:
2019-04-21 20:33:40
阅读次数:
156
Node.js的版本频繁变化,如果有模块不能在你当前的Node版本上使用,需要升级Node环境 1)首先:查看当前node版本:node –v 2)安装n模块:npm install -g n 3)检查路径(如果默认路径在/usr/local/bin或/usr/bin/下可以跳过4步骤。) 先查看系 ...
分类:
其他好文 时间:
2019-04-21 17:17:31
阅读次数:
144
概述 从事 Linux 开发的朋友们都不可避免地用到一些工具,比如 objcopy、nm、objdump、readelf 等等。其实这一系列的工具,就是所谓的 Binutils,当然 GNU 就表示它们都是可以自由地使用的 GNU 软件。 GNU Binutils,是 GNU Binary Util ...
分类:
其他好文 时间:
2019-04-21 14:17:01
阅读次数:
102
Search II You are given a sequence of n integers S and a sequence of different q integers T. Write a program which outputs C, the number of integers i ...
分类:
其他好文 时间:
2019-04-21 11:32:11
阅读次数:
117