Understand 127 common JS program snippets in 30 minutes
This article refers to the original text- http://bjbsair.com/2020-03-22/tech-info/2077/
JavaScript is currently one of the most popular programming languages, as most people say: "If you want to learn a programming language, learn JavaScript."
Quincy Larson, the founder of FreeCodeCamp, was asked in a recent interview which language ...
Added by freeheader on Mon, 23 Mar 2020 18:45:36 +0200
Detailed explanation of string Hash example CF961F/CF985F
1.Codeforces 961F k-substrings
Main idea: given a string, for all its substrings K − substrings k-substrings\;k − substrings, ask its prefix and suffix the same maximum length, and the length must be odd, if not, then it is 1 \; - 1 \; - 1. K − substrings k-substrin ...
Added by EvilCoatHanger on Sun, 15 Mar 2020 05:26:13 +0200
Three ways to solve the problem of recursive JAVA Hanoi Tower and the problem of frog jumping steps
Hanoi Tower problem is a common and classic problem solved by recursion.
What is the Hanoi Tower?
Hanoi Tower originated from the legend of ancient India and an ancient legend of India.
When the great Brahman created the world, he made three diamond pillars. On one pillar, 64 pieces of gold disc ...
Added by mizkit73 on Fri, 13 Mar 2020 08:55:14 +0200
js bit operation and authority control
Body
1. Content summary
This paper mainly discusses the following two problems:
Bit operation of JavaScript: first, simply review the lower bit operation, which is usually used less. I believe that many people forget about it as much as I do
Authority Design: according to the characteristi ...
Added by wardy on Fri, 06 Mar 2020 06:49:18 +0200
Using BFS to solve the problem of backwater
meaning of the title
Water pouring problem "fill A" means to fill cup A, "empty A" means to empty cup A, "pour A B" means to pour water of A into cup B and fill cup B or empty cup A.Input
The input contains multiple sets of data. Each group of data input A, B, C data rang ...
Added by Mr Camouflage on Tue, 03 Mar 2020 13:29:17 +0200
Q - margin match IV (non repetitive shortest circuit + Spfa + network maximum flow Isap)
Q - Marriage Match IV
Do not sincere non-interference. Like that show, now starvae also
take part in a show, but it take place between city A and B. Starvae
is in city A and girls are in city B. Every time starvae can get to
city B and make a data with a girl he likes. But there are two
problems wit ...
Added by The_PHP_Newb on Mon, 02 Mar 2020 06:27:08 +0200
NLP: 1 - use NLTK to understand corpus
Key points of this chapter:
Using NLTK to understand corpus
Import corpus
NLTK Library
0, local corpus to Text
1. Search text
Article search: concordance()
Similar search: similar()
Context search: common UU contexts()
Visual word frequency: dispersion [plot()
2. Vocabulary count
Length: len()
...
Added by anirbanb2004 on Sun, 01 Mar 2020 09:27:15 +0200
Simple wechat small program development -- push box
There's no reason why I suddenly want to learn
Similar to the front end
html changed to wxml,css changed to wxss, wechat developers are a bit excellent
1, Preparation before development
First, you need to register the developer account
WeChat official account platform website https://mp.weixin.q ...
Added by Ozzmosis on Thu, 27 Feb 2020 13:06:31 +0200
Java self study - multithreading common thread method
Common Java threading methods
Example 1: current thread pause
Thread.sleep(1000); indicates that the current thread is suspended for 1000 milliseconds, and other threads are not affected
Thread.sleep(1000); an InterruptedException interrupt exception will be thrown because the current thread sleep may be stopped, and InterruptedException will b ...
Added by peterjoel on Wed, 26 Feb 2020 13:51:30 +0200
R language introduction: vector index
The content of this section is based on the previous assignment of the most basic vector of R language. After learning R, I feel very comfortable about the index of vector. Because this is much better than Python's index. The index starts from where the index starts and ends where it ends, instead of inputting 0 as Python does sometimes, it act ...
Added by ev5unleash on Tue, 25 Feb 2020 15:47:18 +0200