Summary of leetcode problem solving methods
1. Sliding window method
Example: 209. Minimum length subarray (find the smallest array satisfying > = target)
Idea: use two pointers (similar to fast and slow pointers). If you are not satisfied, move the r pointer to the right until you are satisfied. If you are satisfied, move the l pointer to the left until you are not satisfied.
Meth ...
Added by erasam on Thu, 10 Mar 2022 10:28:18 +0200
Docker introduction private notes production image construction practice of building CentOS+SSH image
1. Docker image layered designdocker image has a very important concept: layering. docker image is "tiered storage", and each instruction in Dockerfile will generate a layer of image. For example, all custom images need to execute "FROM centos", so this layer only needs to be downloaded for the first time and will not be dow ...
Added by Journey44 on Thu, 10 Mar 2022 10:22:36 +0200
[traffic sign recognition] traffic sign recognition in haze weather based on matlab GUI BP neural network (with panel) [including Matlab source code phase 1771]
1, Brief introduction of BP neural network traffic sign recognition
Road traffic signs are used to prohibit, warn, instruct and restrict road users to use roads in an orderly manner to ensure travel safety If the road traffic signs can be recognized automatically, the occurrence of road traffic accidents will be greatly reduced However, due to ...
Added by the182guy on Thu, 10 Mar 2022 10:19:15 +0200
Shell -- getting started with shell
1. Introduction to shell
1. Configuration requirements:
OS: RHEL7 or CentOS8 is recommended
CentOS8 will stop maintenance at the end of 2021
RHEL8 or dragon lizard operating system https://openanolis.cn
2. Classification of Shell Scripting Language
There are two kinds of shells: Bourne shell and C shell
Bourne shell includes Bourne s ...
Added by mcog_esteban on Thu, 10 Mar 2022 10:18:30 +0200
Spring series 20: annotation explanation and spring annotation enhancement (basic internal skill)
Some small partners reported that annotations are widely used in annotation based Spring, which is a little uncomfortable because they are not familiar with Java annotations. It is suggested to summarize the basic knowledge of a Java annotation, then it comes!
Content of this article
What is annotation?
How to define annotations
How to use ann ...
Added by bouwob on Thu, 10 Mar 2022 10:13:00 +0200
DBMTL introduction and implementation of multitasking learning model
This paper introduces the multitasking learning algorithm published by Ali in 2019. The model shows the Bayesian network causality between targets, integrates and models the complex causality network between features and multiple targets, and eliminates the strong independent assumptions in the general MTL model. Since there is no specific assu ...
Added by rami on Thu, 10 Mar 2022 10:08:55 +0200
The static model is one click dynamic, which teaches you how to integrate motion capture ability
How is the interesting static model dynamic?Huawei 3D modeling service (3D Modeling Kit) has the ability of motion capture. Using human body detection technology, model acceleration and compression technology and monocular attitude estimation algorithm based on deep learning, it can capture the three-dimensional information of 24 bone key point ...
Added by NoFear on Thu, 10 Mar 2022 09:45:34 +0200
Understanding of CommonJS, AMD and CMD modular programming
1,commonJS
principle
The fundamental reason why the browser is not compatible with CommonJS is the lack of four nodes JS environment variables.
module
exports
require
global
As long as these four variables can be provided, the browser can load the CommonJS module.
Here is a simple example.
var module = {
exports: {}
};
(function(module, ex ...
Added by Talguy on Thu, 10 Mar 2022 09:43:36 +0200
Positioning exercise of CSS learning notes 3.10
1 Sina advertising column
1.1 layout
Requirements: the advertising picture is fixed on both sides of the browser visual window, will not roll with the window, and should be close to the edge of the page center.
The above figure shows the idea of the box. The difficulty of this exercise is how to make the advertising board close to the edge ...
Added by DeadlySin3 on Thu, 10 Mar 2022 09:31:18 +0200
[software test] software test notes
1. Basic concepts and related terms of software testing defects
1)Defect( Defect): It refers to the deviation existing in the software, which can be activated and exists in the software in a static form, which is equivalent to Bug.
2)Malfunction( Fault): When the defect is activated, the state in the software operation can cause accidents ...
Added by brainardp on Thu, 10 Mar 2022 09:07:14 +0200