LEETCODE (11-20) OF JS ALGORITHM PROBLEMS
Ten topics are easier this time. Let's go through them briefly.Sources of the following topics leetcode
Containers for the maximum amount of water
Topic Description
Given n n n nonnegative integers a1, a2,..., an, each number represents a point (i, ai) in the coordinates. Draw n vertical lines in coordinates. The two endpoints of vertical line ...
Posted by BrandonRoy on Tue, 13 Aug 2019 20:36:39 -0700
OpenResty Learning Chapter 8 Traffic Replication/AB Testing/Associations
Links to the original text: https://blog.csdn.net/jinnianshilongnian/article/details/84705004
This article is transferred from https://blog.csdn.net/jinnianshilongnian/article/details/84705004 Thank you for sharing!
Traffic replicati ...
Posted by kausee on Tue, 13 Aug 2019 03:02:29 -0700
thread [6] - thread pool
thread [6] - thread pool
1. Thread pool concept
It is a container that contains several threads. Usually a project has only one thread pool. When the program starts, it loads threads. When you need threads, you take threads from the thread pool and process tasks. When you use them, you will not de ...
Posted by danharibo on Mon, 12 Aug 2019 05:08:11 -0700
Daily silicon step, apply/call/bind self-realization
call/apply/bind is used in daily encoding by developers to implement "object impersonation", i.e. "display binding this".
The interview question, "call/apply/bind source implementation", is actually a comprehensive assessment of JavaScript fundamentals.
Relevant knowledge points:
Scope;
this points to;
Curitizatio ...
Posted by rawisjp on Sat, 10 Aug 2019 19:16:16 -0700
Reptiles for Multi-process Download Fiction
I have written an article to download the novel before, but the speed is worrying, because a lot of time is wasted on the writing of files, so is there any way to optimize it?
Articles Catalogue
Problems in Optimizing
Solution
Icon
Establishment of queues
Allocate different queues for different proces ...
Posted by johnc71 on Thu, 08 Aug 2019 23:44:56 -0700
rpc framework in java
Time Record: 2019-7-24
There are many subsystems in distributed systems, and data interaction between subsystems will be through remote procedure call ** (RPC)**. So what should we pay attention to in remote procedure call? In fact, the most important thing is the speed of transmission and use. The proc ...
Posted by samsunnyuk on Thu, 08 Aug 2019 00:54:51 -0700
Custom Protocol and Golang Implementation
Write here is to make a summary for easy viewing when forgetting, and if there are mistakes in the article, please spray me haha, welcome to correct. It would be nice to help others.
Agreement
The so-called protocol is to specify a series of rules that enable the two or more parties who want to communicate to communicate normally. If we speak C ...
Posted by devil_online on Tue, 06 Aug 2019 04:14:07 -0700
compact Source of Hbase Source Code
In compact 1, the scheduling process of HBASE compact is introduced. This article mainly introduces the actual process of compact. First access from the chore in the above, in the compact Checker chore method in HRegionserver, we will determine whether compact is needed, as follows:
protected void chore() {
//Loop detection by travers ...
Posted by gizzmo on Tue, 06 Aug 2019 02:52:14 -0700
The Difference and Realization of Bid Application Call
Links to the original text: https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Function/bind
See also https://blog.csdn.net/qq_40479190/article/details/78324270
https://developer.mozilla.org/zh-CN/docs/Web/ ...
Posted by jerdo on Mon, 05 Aug 2019 23:49:38 -0700
js object copy
Object Introduction
js contains values of two different data types: base type values and reference type values. Basic type values refer to simple data segments, while reference type values refer to objects that may be composed of multiple values.
JS objects are all reference types, and objects are instances of a particular reference type. Objec ...
Posted by Thunderfunk on Mon, 05 Aug 2019 03:08:34 -0700