Chapter 1 basic algorithm

sort Quick sort The core idea of fast platoon is divide and conquer. Choose one as a sentry, so that the number less than or equal to it is on the left and the number greater than or equal to it is on the right The time complexity is n(logn) The steps are roughly divided into the following three steps: Determine the dividing pointAdjust ...

Added by sashi34u on Thu, 03 Mar 2022 15:42:46 +0200

Summary of the second day of study

Today I learned the form usage of HB, as well as the audio and video usage. We know the usage of from in HTML. Use the form tag in html to complete. Form tags are actually a combination of a group of tags, not a single tag. Form elements are elements that allow users to enter information in forms (such as input boxes, text fields, drop-down l ...

Added by renegade44 on Thu, 03 Mar 2022 15:39:59 +0200

Interview question -- complete the conversion of RMB into capital in JAVA

Correct wording of RMB amount in words: Integer part: zero, one, two, three, four, five, six, seven, eight, nine Decimal part: angle, minute and centigrade Digital part: ten, ten, ten, ten million, hundred million, yuan be careful: When there is "0" in the Arabic numerals in figures, the Chinese capital shall be written in accordanc ...

Added by kanuski on Thu, 03 Mar 2022 15:38:32 +0200

Working principle and entry program of MyBatis

(1) Read the configuration file of MyBatis. mybatis-config.xml is the global configuration file of MyBatis, which is used to configure database connection information. (2) Load mapping file. The mapping file is the SQL mapping file, in which the SQL statements for operating the database are configured, which needs to be in the MyBatis config ...

Added by Placebo on Thu, 03 Mar 2022 15:31:53 +0200

Sorting algorithm notes - Advanced sorting

1. Hill sort Hill sort is a kind of insertion sort, which is a more efficient sort algorithm 1.1 sorting principle 1. Select a growth amount h and group the data according to the growth amount h as the basis for data grouping 2. Insert and sort each group of data divided into groups 3. Reduce the growth to 1 at least, and repeat the operatio ...

Added by ratass2002 on Thu, 03 Mar 2022 15:21:58 +0200

Annotation and reflection

annotation Annotation Introduction to annotation Can be read by other programsFormat: @ + annotation nameUsage: it can be attached to package, class, method, field, etc., which is equivalent to adding auxiliary information to access the content under the annotation through the reflection mechanism Built in annotation @Override: defined in ...

Added by homerjay on Thu, 03 Mar 2022 15:20:22 +0200

Installation and use of cJSON Library

I Introduction to CJSON 1.1 JSON(JavaScript Object Notation) is a lightweight text data exchange format, which is easy to read. At the same time, it is also easy for machine analysis and generation. Although JSON is a subset of Javascript, it is a language independent text format and adopts some habits similar to the C language family. 1.2 ...

Added by schoolmommy on Thu, 03 Mar 2022 15:19:21 +0200

Login function of blog system (front and back end separation Vue + Flash)

Early installation vue cli installation sudo npm install -g @vue/cli function: vue ui The localhost:8000 page opens automatically mysql installation (optional) Download address: https://dev.mysql.com/downloads/mysql/5.6.html , find the appropriate dmg version to downloadClick dmg to install step by stepConfigure environment variables ( ...

Added by mikew2 on Thu, 03 Mar 2022 15:14:16 +0200

C language improvement

Structure array sorting On the basis of the previous program, add the age variable to the structure, and then sort it according to the age of (Teacher) Define structure: typedef struct Teacher { int age; char **stu; //Two dimensional memory }Teacher; First assign a value to age, and then compare the size of age. Notice how it's exchan ...

Added by RedRasper on Thu, 03 Mar 2022 15:10:56 +0200

php disable_function bypass

bypass disable_functions disable_functions is PHP Ini, which can be used to set the PHP environment to prohibit the use of some functions. Usually, the website administrator can disable some dangerous command execution functions for security reasons. If you want to add it, it's in PHP Ini, separated by commas. to configure Open PHP Ini, sear ...

Added by powelly on Thu, 03 Mar 2022 14:54:45 +0200