A number of schools are connected to a computer network. Agreements have been developed among those schools: each school maintains a list of schools t ...
分类:
Web程序 时间:
2020-05-03 12:23:25
阅读次数:
70
/** * 浅拷贝 * @type {{address: {name: string}, sex: number, name: string}} */ let person1 = { sname: 'tommy' } let person2 = person1; person2.sname = 'h ...
分类:
Web程序 时间:
2020-05-03 10:49:47
阅读次数:
70
/* program to construct tree using inorder and preorder traversals */ #include <stdio.h> #include <stdlib.h> /* A binary tree node has data, pointer t ...
分类:
其他好文 时间:
2020-05-03 10:19:45
阅读次数:
64
一、数组 数组是具有固定长度且拥有零个或多个相同数据类型元素的序列。 声明数组: 初始化数组: 使用数组: 二、切片(slice) slice是表示一个拥有相同类型元素的可变长度的序列,通常写成[]T。可以用来访问数组的部分或全部元素,这个数组称为slice的底层数组,slice有三个属性:指针、长 ...
分类:
编程语言 时间:
2020-05-03 01:09:49
阅读次数:
67
var、let、const之间的区别和使用 1、var声明变量可以重复声明,而let不可以重复声明 let a = 1; let a = 2; var b = 3; var b = 4; a // Identifier 'a' has already been declared b // 4 2、v ...
分类:
其他好文 时间:
2020-05-02 18:49:09
阅读次数:
56
一、相关工具 模拟器:Cisco Packet Tracer Instructor 二、实验要求 使用模拟器配置交换机的enable、console和telnet密码,且密码都为 。 三、实验步骤 1、配置enable(特权模式)密码: a、首先安装好模拟器后,拖一个交换机和一台pc到界面上,并配置 ...
分类:
Web程序 时间:
2020-05-02 17:21:15
阅读次数:
149
上一篇我们介绍了ConcurrentHashMap的主干方法,本篇是ConcurrentHashMap的终篇,我们主要针对它的元素统计,扩容,元素迁移等做讲解。首先我们回顾一下前面章节,普通节点Hash为key的hash;树节点为TreeBin内部封装红黑树头节点,并且维护树,TreeBin的Has... ...
分类:
其他好文 时间:
2020-05-02 15:09:04
阅读次数:
58
The lowest common ancestor (LCA) of two nodes U and V in a tree is the deepest node that has both U and V as descendants. A binary search tree (BST) i ...
分类:
其他好文 时间:
2020-05-02 14:54:12
阅读次数:
50
A. Phoenix and Balance time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Phoenix has nn co ...
分类:
其他好文 时间:
2020-05-02 09:52:32
阅读次数:
78
http://qjzd.net:3000/topic/5e48cc33dcf06d6a181ffb81 通过IPAddress.com首页,输入raw.githubusercontent.com查询到真实IP地址 修改hosts Ubuntu,CentOS及macOS直接在终端输入 sudo vi ...
分类:
其他好文 时间:
2020-05-02 00:28:57
阅读次数:
476