Introduction to Algorithms: Algorithmic Diagram

Introduction to Algorithms: Algorithmic Diagram Introduce an introductory book on the basis of algorithms. It is necessary to supplement algorithms and data structures for non-academic students, but these things are often so dull that many people's enthusiasm is dispelled. Algorithmic Diagram uses p ...

Posted by php_joe on Tue, 30 Jul 2019 16:48:42 +0200

< center>javascript proxy mode </center >

The so-called proxy pattern is to find a substitute object for an object in order to access the original object. The reason why we use proxy is that we don't want or want to operate directly on the original object. We use proxy is to let it do a series of operations for the original object. After these ...

Posted by Oxymen on Tue, 30 Jul 2019 16:37:38 +0200

Red and Black Trees and 2-3 Trees

Red and Black Tree (also a Binary Search Tree) 1. Each node is either red or black. 2. The root node is black. 3. Each leaf node (the last empty node) is black. 4. If a node is red, its child nodes are black. 5. From any node to the leaf node, the black node is the same. 6. Red-black trees are binary tr ...

Posted by kokomo310 on Tue, 30 Jul 2019 07:51:48 +0200

Go Language for an article (typesetting)

Introduction: Google language is the most popular programming language in recent years. It is a static, compiled, concurrent programming language developed by Google with garbage collection function. GoLanguage has two characteristics: high development efficiency and high execution efficiency. It is known as C language in the era of cloud compu ...

Posted by Nabster on Mon, 29 Jul 2019 07:08:26 +0200

Opencv3-Python 3 Basic Part 3 (Drawing)

Catalog 3.1 Line Drawing 3.2 Draw Rectangles 3.3 Draw a circle 3.4 Draw an ellipse 3.5 Draw Polygons 3.6 Add text to the image python-opencv can realize powerful drawing function. Here, only basic drawing operation is introduced. Introduction of parameters: img: the image you want to dra ...

Posted by ftrudeau on Mon, 29 Jul 2019 05:09:41 +0200

Old boy python stack s21day02 homework

day02 homework 1. Guess the number, set an ideal number such as: 66, let the user input the number, if larger than 66, the result of the guess is larger; if smaller than 66, the result of the guess is smaller; only equal to 66, the result of the guess is correct, and then exit the loop. value= 66 wh ...

Posted by Roggan on Sun, 28 Jul 2019 08:56:29 +0200

Kubernetes Cluster Construction: Based on Kubeadm

First, environmental preparation * K8S version 15.1 * Docker version supports up to 18.06.1 Second, Docker Environment Construction and Replacement 1. Clear the original Docker environment, the original version is the latest version yum remove docker \ docker-client \ ...

Posted by tmbrown on Sun, 28 Jul 2019 07:48:15 +0200

JAVA Concurrent Programming - Volatile Keyword and Memory Visibility

Author: All his lifeWechat: 878799579 1. What is JUC? JUC full name java.util.concurrent is a very common utility class in concurrent programming. 2.Volatile keywords 1. If a variable is modified by volatile keyword, it is visible to all threads.2. If a thread modifies the variable value modified by Volatile, the modified value is immediately ...

Posted by Davidc316 on Sun, 28 Jul 2019 07:06:06 +0200

ForkJoinPool, or ForkJoin Framework for Java Concurrent Packet Thread Pool

Preface This is the last thread pool implementation provided by Java concurrent packages, and also the most complex thread pool. For this part of the code is too complex, due to limited time, can only be briefly introduced. The Fork/Join framework is actually a task scheduling mechanism consisting of Fork Join Pool as thread pool, Fork Join Ta ...

Posted by pytrin on Sun, 28 Jul 2019 05:41:24 +0200

Changle Training Day6

T1 sequence subject [Title Description] [Input Format] [Output Format] [Data Scale] As mentioned above. analysis As a T1, it's harder than T4.... Let me do... Here's how to solve the problem for Big Man: I guess you guys don't understand when you read the solution (manual funny). I can't do anything with the code. Code #i ...

Posted by 25lez25 on Sun, 28 Jul 2019 04:42:15 +0200