Through examples, you can understand how to analyze the relevant algorithms of binary tree (question: isomorphism of PAT tree)

Basic experiment 4-2.1 isomorphism of trees Give two trees T1 and T2. If T1 can be changed into T2 through several child exchanges, we call the two trees "isomorphic". For example, the two trees given in Figure 1 are isomorphic, because after we exchange the left and right children of nodes A, B and G of one tree, we get another t ...

Added by modcar on Thu, 10 Feb 2022 06:54:15 +0200

expect batch traversal ip to execute the specified code [Zhenxiang warning]

True fragrance reason I'll just say one thing. If you want to restart a service of other servers, you can't build a conventional shell except for the expect method [if you're beaten, I'll delete it]Expect doesn't support any traversal syntax, so it's not too fragrant to use EOF to traverse expect [I don't know whether it's EOF or expect] ...

Added by monkeynote on Thu, 10 Feb 2022 06:22:14 +0200

Linux Performance Optimization -- disk performance and high I/O troubleshooting

Author email: 2107810343@qq.com Time: 14:39, May 16, 2021 Implementation environment: Linux System: ubuntu 18.04 CPU: 2 cores Memory size: 4G Disk capacity view: df For a disk, the most common performance problem is insufficient disk space, so let's first introduce how to check the disk capacity of Linux, and enter the following command o ...

Added by spiritssight on Thu, 10 Feb 2022 03:26:26 +0200

Introduction to docker 1: docker installation, basic commands and redis operation examples

Environmental Science: centos8.2 minimize installationdocker 1, docker concept Official website: https://www.docker.com/ Github Docker source code: https://github.com/docker/docker-ce Docker is an open source application container engine, which is based on Go language and complies with Apache 2.0 0 protocol is open source. Docker allows de ...

Added by azul85 on Thu, 10 Feb 2022 02:19:14 +0200

Super detailed CentOS installation Mongodb helps you avoid detours (must see)

CentOS7.2 64 bit installation of mongodb4 4.1 (detailed) Here, I use yum to install automatically. I strongly don't recommend Xiaobai to decompress the compressed package for automatic installation. There are too many pits! Introduction to environment variable path mongodb bin directory: / etcdbpath of mongodb: / var/lib/mongologpath of mong ...

Added by SemiApocalyptic on Thu, 10 Feb 2022 02:06:12 +0200

iptables are shielded according to the specified country (installation and use of GEOIP module)

iptables are shielded according to the specified country (installation and use of GEOIP module) This process is suitable for Centos7* system 1, Install iptables addons (geoip module) 1. Download lux source wget http://repo.iotti.biz/CentOS/7/noarch/lux-release-7-1.noarch.rpm 2. Install lux source rpm -ivh lux-release-7-1.noarch.rpm --f ...

Added by calavera on Thu, 10 Feb 2022 01:03:20 +0200

The realization of forging udp package and binding network card to send data under linux

1. Include header file #include <sys/types.h> #include <sys/socket.h> #include <sys/un.h> #include <arpa/inet.h> #include <unistd.h> #include <string.h> #include <time.h> #include <stdlib.h> #include <stdbool.h> #include <net/if.h> 2. Set src and dest, and define a global socket at ...

Added by pppppp on Wed, 09 Feb 2022 22:38:02 +0200

Deployment of pure domestic environment (Galaxy Kirin + Feiteng) JAVA program (Springboot + Mybatis + Damon database)

JAVA program deployment preface Operating environment: Galaxy Kirin + Feiteng CPU Project framework: Springboot + Mybatis + Dameng database jdk1 eight The last one wrote the source code of the project, and this one mainly wrote the deployment of the project on the domestic operating system and the installation and creation of Dameng data ...

Added by Pezmc on Wed, 09 Feb 2022 21:50:13 +0200

Introduction to Linux Capabilities -- basic practical part

The series is divided into three articles: Introduction to Linux Capabilities: ConceptsIntroduction to Linux Capabilities: basic practical chapterIntroduction to Linux Capabilities: advanced practical chapter Last article This paper introduces the birth background and basic principle of Linux capabilities. This paper will show how to view and ...

Added by SOL-ion on Wed, 09 Feb 2022 21:38:08 +0200

. netcore application container deployment

Earlier, we explained how to install the database in wsl netcore runtime and how to publish one netcore applications, in order to form a complete series, in this section, we will learn how to netcore application containerization [of course, this is based on wsl] Environmental preparation 1.Docker installation Previously, there was a small se ...

Added by EskimoBill on Wed, 09 Feb 2022 18:24:05 +0200