Data structure string (explain KMP algorithm in detail)

1. Definition of string: A finite sequence of zero or more characters, also known as a string Empty string without characters A string with only spaces is called a space string 2. Abstract data type of string: ADT String ( string) Data //The element of a string consists of only one character, and the ...

Posted by seavolvox on Sat, 22 Feb 2020 04:56:51 -0800

The key function selector of jQuery

Selector is the core of jquery The object returned by jquery selector is jquery object, which does not return undefined or null, so it is unnecessary to judge   Basic selector: ID selector $("" Id ") element selector (label selector) $("label") such as $("div") Get the specific label, and use the way of array ...

Posted by jesse26 on Sun, 16 Feb 2020 02:54:35 -0800

HTML basic notes list and fonts

3 lists <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <style type="text/css"> /* Remove bullet * */ /*ul{ list-style: none; }*/ </style> </head> <body> <!-- The lis ...

Posted by martor on Wed, 12 Feb 2020 10:14:33 -0800

Detectron 2 (target detection framework) - 07: source details - model building - retinaet as an example

The following links are personal opinions on detectron 2 (target detection framework). If there is any error, please point out it. I will correct it as soon as possible. Interested friends can add wechat: a944284742 to discuss technology with each other. If it helps you anything, remember to like it! Be ...

Posted by HA7E on Tue, 28 Jan 2020 05:20:32 -0800

list of C++ STL containers

#include <iostream> #include<algorithm> #include <string> #include <list> using namespace std; //3.6.4.1 list constructor //List < T > lstt; / / list is implemented by using template class. The default construction form of the object is as follows: //list(beg, end); / / th ...

Posted by buceta on Sat, 25 Jan 2020 06:44:49 -0800

Geometric Shapes POJ - 3449 (Computational Geometry + line intersection + care)

Geometric Shapes POJ - 3449 Classification: carefulness + line intersection Extras: a tot has been written as 0, and I've been looking for bug s all morning. I want to kill myself carelessly and cry all the time. The problem is really not difficult! But the code is a little long! Be careful, do not copy and paste repeatedly, i ...

Posted by icedude on Thu, 02 Jan 2020 13:46:01 -0800

Simple use of mutimap in C + +

The basic usage of mutimap is the same as that of map. The key in the key value pair in map is unique, and the key in mutimap can be repeated. Mutimap is also very common in reality, such as the relationship between departments and employees. Both the header files of mutimap and map are related containers, which need to access t ...

Posted by dyconsulting on Tue, 31 Dec 2019 11:25:49 -0800

Mysql -- stored procedure

A stored Procedure is a set of SQL statements that are compiled and stored in a database to complete a specific function. The user can execute it by specifying the name of the stored Procedure and giving parameters. Stored procedures can contain logical control statements and data manipulation statements, which can accept para ...

Posted by storyteller on Tue, 31 Dec 2019 03:05:39 -0800

Callback Hell and ECMAScript6 Promise

Promise is the fifth day of "14nodejs (7 days)", but promise is not the content of Node.js, but the new API of ECMScript6 Callback Hell Callback region one asynchronous request needs another asynchronous request result $.ajax({url, success: function () { ... }}) $.ajax({url, success: function () { ... }}) $.ajax({url, success: functio ...

Posted by macdumbpling on Thu, 19 Dec 2019 22:51:46 -0800

MySql table partition (based on datetime)

timestamp type partition, please move = > MySql table partition (based on time timestamp)Environmental Science:MySQL 8.0.18 (unverified for 5.6 and 5.7)The field type of partition condition is datetimeThe complete sql operation table partition statement is as follows: -- 1.Delete table drop table t_test; -- ============================== ...

Posted by Brokenhope on Sun, 08 Dec 2019 03:47:37 -0800