• ## [data structure] Chapter 2 linear table (1) — linear table

Time：2021-3-10

Linear table Basic concepts of linear table Definition of linear table A linear table is a finite sequence of n (n > = 0) elements with the same data type. Basic operation of linear table When do you want to pass in the parameter reference “&”? One is the value type, which will directly copy […]

• ## Using git in vs Code for version management and file upload to GitHub

Time：2021-2-5

GitHub is a hosting platform for open source and private software projects. It only supports git as the only version library format for hosting. I believe everyone who studies the front end is familiar with GIT and GitHub, but for those who have just come into contact with the front end, they will feel very […]

• ## Map and factory model

Time：2020-9-26

Map and factory pattern The value of a map can be a method Together with the dock type interface mode of go, it is convenient to implement the factory mode of a single method object func TestMap(t *testing.T) { m := map[int]func(op int) int{} m[1] = func(op int) int { return op } m[2] = […]

• ## Data structure and algorithm of binary search tree (JS version)

Time：2020-8-19

Write it at the front This paper introduces the binary search tree data structure and the front-end implementation of some operations, and the corresponding part of the leetcode problem solution Node class class Node { constructor({value, left, right}) { this.value = value; this.left = left; this.right = right; } } Binary search tree class class […]

• ## Linux Ubuntu basic operations – compile and debug

Time：2020-8-16

Compile and debug This chapter contains Basic operation command and format of GDB GDB debugging steps GDB Steps to perform debugging

• ## [PHP implementation data structure] stack

Time：2020-7-9

We have mentioned that queue is a special linear table. Here we will introduce another special linear table stack What is a stack Stack is a kind of last in first out data structure, which can only be operated at one end of the list. The end of the stack that allows operations is called […]

• ## Mongodb database installation configuration, basic operation examples

Time：2020-7-8

This paper describes the mongodb database installation configuration, basic operations. For your reference, the details are as follows: 1. Introduction No SQL: NoSQL (NoSQL = not only SQL), which means “not only SQL”, is a general term for RDBMS which is different from traditional RDBMS. NoSQL is used for the storage of super large-scale data. […]

• ## Detailed explanation of mongodb’s basic operation instance [server start, client connection, crud operation]

Time：2020-6-24

This paper introduces the basic operation of MongoDB. To share with you for your reference, as follows: Content of this article: Introduction to mongodb Start of mongodb server Mongodb client connection Related concepts of SQL and mongodb What is bson Database operations Set operation Document operations Test environment: win10 Software version: 3.6.2 Starting time: March […]

• ## Summary of basic operation of mongodb database

Time：2020-6-18

An example of this paper describes the basic operation of mongodb database. To share with you for your reference, as follows: 1. Create database >use test > db.test.insert({“name”:1}) Test can only be found after insertion 2. View database >show dbs 3. Delete database > use test > db.dropDatabase() 4. Create collection 4.1 set concept A […]

• ## Elementary study of basic operation and expression of C language

Time：2020-4-22

Introduction: program to complete advanced functions, first of all to be able to do basic addition, subtraction, multiplication and division. This chapter starts from the concept of variables in the program, combines the output function learned before and the newly introduced input function to make a simple human-computer interaction program, then explains the most basic […]

• ## Linux Ubuntu basic operation compile and debug

Time：2020-4-12

Compile and debug This chapter contains Basic operation command and format of GDB GDB debugging steps GDB To perform debugging

• ## Go- reflection

Time：2020-4-1

reflex Basic introduction of reflection 17.3.1 basic introduction1) Reflection can dynamically obtain various information of variables at runtime, such as the type and kind of variables2) If it is a structure variable, you can also obtain the information of the structure itself (including the fields and methods of the structure)3) Through reflection, you can modify […]