Guidelines for participating in open source projects (towards the front)

background I believe many front-end partners have thought about participating in the development of some open source projects, but sometimes they don't know how to start because of some objective reasons, such as no guidance and no perfect process and steps to participate in open source projects. As it happens, the open source framework of ant ...

Posted by Rulkster on Mon, 24 Jan 2022 22:17:19 +0100

Hash table and record of line points -- Calculation of the maximum number of points on the line

subject oj platform Topic analysis There are two ways to solve this problem, but without exception, hash tables are needed. The first solution is to record the slope and intercept of the line. Specific steps: Write a function for calculating the slope and intercept between any two points, and the return value is a binary.Enumerate t ...

Posted by hame22 on Mon, 24 Jan 2022 18:07:23 +0100

Data structure - simple sorting

1, Simple sort 1.1 introduction to comparable interface Since we are going to talk about sorting here, we will certainly compare between elements, and Java provides an interface, Comparable, which is used to define sorting Rules. Here we briefly review the Comparable interface in the form of a case. Requirements: 1. Define a Student class ...

Posted by $SuperString on Mon, 24 Jan 2022 14:10:54 +0100

Some problem solving ideas and templates of binary tree

Complete binary tree concept A complete binary tree can have no right subtree and no left subtree. Problem solving ideas Judge whether it is a complete binary tree: using the sequence traversal method, if it is found that there is right or left, or the first left and right nodes are not complete, the subsequent nodes must be leaf nodes, oth ...

Posted by drakkon on Mon, 24 Jan 2022 14:06:49 +0100

Codeforces Round #767 (Div. 2) ABCD problem solving

A. Download More RAM Idea: sign reach topic Check in question Check in question Press mirror a from ...

Posted by screamer141 on Mon, 24 Jan 2022 08:43:52 +0100

Hash table of data structure

Firstly, hash table is a common data structure used to find data. So why use a hash table? Can't arrays and linked lists also be searched? Let's start with the array. If the data stored in the array corresponds to the subscript, the search speed is really fast, but what if it's the following example? (don't mind if you don't draw well) As y ...

Posted by Intelly XAD on Mon, 24 Jan 2022 08:22:33 +0100

Data structure Chapter 4 (string, array and generalized table)

1. Definition of string String (or string): a finite sequence consisting of zero or more characters, marked as s = "a_1 a_2 ··· a_n" (n ≥ 0) s: The name of the string. The character sequence enclosed in double quotation marks is the value of the stringa_i (1 ≤ i ≤ n): it can be letters, numbers o ...

Posted by ludjer on Mon, 24 Jan 2022 04:52:03 +0100

Day21 binary tree quick start learning (Java)

1, Why use a tree as a data structure 1) Analysis of array storage mode Advantages: it is fast to access elements by subscript. For ordered arrays, binary search can also be used to improve the retrieval speed. Disadvantages: if a specific value is to be retrieved, or the inserted value (in a certain order) will move as a whole, which is ine ...

Posted by Garth Farley on Mon, 24 Jan 2022 04:35:56 +0100

Analyze LinkedList from the design source code

I'm so tired to write this blog. In addition, it took me 6 hours to write and read the source code. It can be said that I was extremely lucky and bitter. Too tired, too tired!!! Linked list is a linear list with linked storage. The memory addresses of all elements are not necessarily continuous. Dynamic array has an obvious disadvantage ------ ...

Posted by hjunw on Mon, 24 Jan 2022 03:11:53 +0100

Some introduction to graph.

That has changed, that is, linear lists and linked lists only go online. Offline can't go online in violation of supervision. This is very bad. What we need is mutual supervision between online and offline. This is an undirected graph, which is connected with each other. A - B = 1 and B - a = 1 mean that they are connected with each oth ...

Posted by todd2006 on Mon, 24 Jan 2022 02:52:13 +0100