Algorithm

Uniqueness of minimum spanning tree (kruskral + sub small spanning tree)

Given a weighted undirected graph, if it is a connected graph, there is at least one minimum spanning tree, and sometime...
15:01 4 December 2021

Common array operations of opencv on c + +

1. Image reading and Mat initialization -1 re...
2:10 1 December 2021

The sixth sort -- quick sort

void quickSort(vector<int>& v, int left, int right) { if (left >= right)return; int pirot = v[right]; int l...
8:58 28 November 2021

Code works round #756 (Div. 3)

Code works round #756 (Div. 3) [1611A]. Make Even Idea: there are only four cases. If the last person is even, you need ...
6:17 28 November 2021

Data structure inside python

One. concept When the program uses data structure to proc...
23:02 24 November 2021

Interpretation of DualPivotQuicksort source code

Interpretation of DualPivotQuicksort source code Threshold constant Click to view the code /** * The maximum number of r...
12:14 23 November 2021

String Title Collection

Collection of string topics (Part 2) ps: Titl...
20:31 20 November 2021

Data structure graph theory

DFS connected ...
0:57 20 November 2021

⚡ Daily algorithm & interview questions ⚡ Study together 5 ️⃣

Algorithm problem Given an integer array nums arranged in ascending order and a target value target. Find the start and ...
17:52 19 November 2021

NOIP 2012 cultural tour

I saw that the data of this problem mentioned in Luogu was especially water, so I wrote a very water approach. ...
13:47 19 November 2021

python scipy library summary

Guide map of this section: https://www.processon.com/view/link/5fd9f5dc5653bb06f344d655 ...
10:51 18 November 2021

Force button brush question - single linked list series - question 1: remove the elements of the linked list and get a glimpse of the path from the linked list to stop killing God~

Title Link: force buckle Force button brush questions ---- > single chain list series The first solution: operate on...
14:22 17 November 2021

Android system startup process 3 -- Construction of Linux root file system

After linux starts the kernel, the root file system will be built, and then the init process can be used to start other ...
4:51 16 November 2021

C language quick sort

Quick sort is to find a number at random, and then arrange the remaining elements on the left and right according to the...
16:24 12 November 2021

Segment tree training

Segment tree training P3372 [template] segment tree 1 - New Ecology of computer science education in Luogu (luogu.com.cn...
9:27 12 November 2021

Algorithm learning diary day05

I also learned the usage of python class yesterday 1. Def...
14:16 9 November 2021

Leaving aside forms and controls, from vb to c language

Leaving aside forms and controls, from vb to c language Visual Basic (VB for short) is a general object-based programm...
7:24 6 November 2021

Deep learning Yolo algorithm code implementation

preface This blog mainly summarizes the technologies used in Yolo series according to the algorithm code of Yolo series,...
4:51 4 November 2021

Dynamic programming --- example 6. Polygon game

1, Title Description Polygon game is a single...
20:16 1 November 2021

Java Data Structure and Algorithms - Sparse Array

1. Linear and Nonlinear Structures Data structures include linear and non-linear structures. ...
16:34 31 October 2021

Binary answer, discretization, etc

Two point answer Best cattle fenc...
10:53 31 October 2021

Counting method based on LeetCode algorithm

catalogue 1748. Sum of unique ele...
10:52 26 October 2021

leetcode brush record day033:203 and 160

203. Simple difficulty: Method 1: Original: new linked list Principle: first, create two new nodes, one as the answer ch...
3:49 26 October 2021

Item D of group B of the 12th Blue Bridge Cup provincial university competition

Question: Answer to this question: 2430 Problem solving ...
0:51 25 October 2021

Summary of algorithm and question types of dynamic programming

Dynamic Programming (DP) It is understood that a large pr...
1:44 23 October 2021