Summary of the skill of brushing questions

Tips for brushing questions (update along with fate, review for self use) 1. Cycle period 2. 2D array initialization 3. Exclusive or expression 4. The location of the ordered maximum value in a two-dimensional array 5. cmp parameter of sort function 5. High precision algorithm 6. Read a string 7. Rea ...

Posted on Fri, 28 Feb 2020 02:45:55 -0500 by audiomove

sass: a precompiled language of css

#Qianfeng anti war class, clock in the next day# sass is a precompiled language of css, which is higher, faster and stronger than css Write sass in a file with a suffix of. Sass or. scss. Difference between. sass file and. scss file In the. scss file, the syntax is basically the same as that of ...

Posted on Fri, 28 Feb 2020 00:50:48 -0500 by ginoitalo

ArcGIS for Android loading base map

Foundation map The foundation of mobile map program lies in "one map". Field mapping, navigation, achievement display, statistical application, etc. all need a basic base map to support. Often the quality of the base map determines the foundation of the whole mobile map. Load online found ...

Posted on Thu, 27 Feb 2020 22:07:35 -0500 by Duodecillion

Advanced multithreading -- on Semaphore source code of JUC concurrent programming

1. Learning entry point Baidu translates as follows: Count semaphores. Conceptually, semaphores maintain a set of licenses. If necessary, each acquire () will block until a license is available, and then acquire it. Each release () adds a license that may release a blocked acquirer. However, the actual permission object is not used; the ...

Posted on Thu, 27 Feb 2020 04:38:48 -0500 by Gambler

try...except...else...finally exception handling in Python

1. Exception understanding during Python operation The errors detected by Python program during its running period are called "exceptions". Most of the exceptions will not be actively handled by the program, and eventually an error message will be generated, causing the program to stop runni ...

Posted on Thu, 27 Feb 2020 03:07:00 -0500 by edmore

Queue data structure

1, Recognize the queue Let's also get to know the queue and see its features and application scenarios Queue structure Queue, a linear table with limited operation, FIFO first in first out Queue is a limited linear structure The limitation is that it only allows deletion at the front of ...

Posted on Wed, 26 Feb 2020 07:36:42 -0500 by plehmurof

[Kafka] Kafka custom partition

1. Default partition policy (1) If the key value is null and the default partitioner is used, the record is randomly sent to each available partition within the subject. The partitioner uses Round Robin algorithm to distribute messages evenly to each partition. (2) If the key is not empty and the defa ...

Posted on Tue, 25 Feb 2020 04:00:15 -0500 by josborne

Breakthrough Strategy for Day High and Low Points

Preface Previously, I heard a sentence: To make a lot of money, you must learn to hold a long-term position, but if you want to make fast money, you must learn to trade within days.Today, the range of quantitative transactions is amazing, and various trading strategies emerge one after another, the most popular of which is intraday trading str ...

Posted on Mon, 24 Feb 2020 22:08:43 -0500 by FirePhoenix

Column | Jupyter-based Feature Engineering Manual: Data Preprocessing

Click AI Channel above to select Top Public Number Heavy dry goods, first delivery Author: Yingxiang Chen & Zihan Yang Edit: Red Stone The importance of Feature Engineering in machine learni ...

Posted on Sun, 23 Feb 2020 20:06:13 -0500 by jac38

[str string built-in function] from python

String built-in function – capitalize str.capitalize(): converts a string to uppercase and other letters to lowercase capitalize meaning capitalize(...) | S.capitalize() -> str #Output is a string | | Return a capitalized version of S, i.e. make the first charact ...

Posted on Sun, 23 Feb 2020 03:00:33 -0500 by bigdaddykraven