BST(Binary Search Tree) 基本特点: + 二叉树 + 集合中的数据具有可比较大小的关键码 + 数据之间满足BST特性 + 中序遍历可得到一个递增的数据序列(可作为判断一棵二叉树是否是BST的方法) + 同一个数据集合,可存在多个不同形态的BST树 基本操作 + 问题描述+求解动 ...
分类:
其他好文 时间:
2019-11-24 22:24:54
阅读次数:
139
将pseudo reference image的概念拓展至其他失真。 ...
分类:
其他好文 时间:
2019-11-24 17:30:47
阅读次数:
71
题目:给定一个二叉树,返回它的中序 遍历。 来源:https://leetcode-cn.com/problems/binary-tree-inorder-traversal/ 法一:网上的代码 思路:利用栈的递归,对每次取的节点进行标记,第一次遍历该节点时,标记为灰色,左子树和右子树标记为白色,注 ...
分类:
其他好文 时间:
2019-11-24 13:33:01
阅读次数:
73
原题链接在这里:https://leetcode.com/problems/binary-search/ 题目: Given a sorted (in ascending order) integer array nums of n elements and a target value, writ ...
分类:
其他好文 时间:
2019-11-24 13:32:29
阅读次数:
47
1.下载·JAR包: https://repo.eclipse.org/content/repositories/paho-releases/org/eclipse/paho/ 2.下载mosquitto: http://mosquitto.org/files/binary/ 由于下载mosquit ...
分类:
其他好文 时间:
2019-11-24 13:30:08
阅读次数:
76
从零开始:mysql基于Amoeba的集群搭建 准备环境 1、mysql 5.7.24 linux glibc2.12 x86_64.tar.gz 2、amoeba mysql binary 2.0.1 BETA.tar.gz 3、Centos7 下载安装配置运行 1、mysql安装 使用wget命 ...
分类:
数据库 时间:
2019-11-24 12:20:04
阅读次数:
108
There is a kind of balanced binary search tree named red-black tree in the data structure. It has the following 5 properties: (1) Every node is either ...
分类:
其他好文 时间:
2019-11-23 21:36:27
阅读次数:
58
using System;using System.Collections.Generic;using System.Collections;using System.IO;using System.Runtime.Serialization.Formatters.Binary;using Syst ...
在oracle中有一个特殊的字段类型Blob,Blob是指二进制大对象也就是英文Binary Large Object的缩写; 通过sql取出后,需要进行特殊处理。而我是这样玩的: 1.通过sql查询出来,是一个map,先用MapUtils.getObject将Blob字段强转成Byte,最后将ne ...
分类:
其他好文 时间:
2019-11-22 13:27:57
阅读次数:
72
一、简单介绍一下MemoryStream MemoryStream是内存流,为系统内存提供读写操作,由于MemoryStream是通过无符号字节数组组成的,可以说MemoryStream的性能可以算比较出色,所以它担当起了一些其他流进行数据交互安时的中间工作,同时可降低应用程序中对临时缓冲区和临时文 ...
分类:
其他好文 时间:
2019-11-22 10:36:12
阅读次数:
86