[Java] takes you from zero to a series of 7 drawings, and takes you from sequential list to linked list 2

Foreword: in the last article, we learned the sequence table and found that we have a certain grasp of the concept of the sequence table, but after learning the sequence table, we found that there are some places that we can't do better or difficult to do, so we have a linked list. This article will take you into the study of the linked list! ...

Posted by zbert on Thu, 18 Nov 2021 04:23:24 -0800

[title record] - the 45th international undergraduate Programming Competition (ICPC) Asian regional competition (Kunming)

The 45th international undergraduate Programming Competition (ICPC) Asian regional competition (Kunming) We only did H, water.. Author's evaluation and partial solution How to evaluate the ICPC Kunming division in 2021? Partial solution ICPC Kunming travel notes (2021.4.3) B Chessboard upper and lower bounds minimum cost maximum flow ...

Posted by bigbillhill on Thu, 18 Nov 2021 03:20:36 -0800

Left God algorithm note-4 linked list

I will go against my instinct, disobey my nature and love you forever. Let's summarize the sorting (left over from the last lesson) 1, Stability of sorting (02:56) The same values in the sorting process are sorted by the sorting algorithm, and their relative order remains unchanged. (for the simple basic type array, it is of little use. It do ...

Posted by axman505 on Thu, 18 Nov 2021 01:36:16 -0800

Luogu P1113 chores (DP, topology sorting)

[Title Description] John's farm has a lot of chores to complete before milking the cows. Each chore takes a certain amount of time to complete it. For example, they have to gather the cows, drive them into the barn, wash their breasts and do some other work. It is necessary to finish all the chores as soon as possible, because there is more tim ...

Posted by cjl on Wed, 17 Nov 2021 17:04:04 -0800

SeafileServer Source Analysis Version Management System: Submit Differences and Merge

2021SC@SDUSC Submit Differences To facilitate user review and prepare for merge, you need to design an algorithm to count the differences between two submissions (branches). Before thinking about the specific flow of the algorithm, you need to summarize the types of differences. Difference Type If there are two commit commits, Parent, let's ...

Posted by Chotor on Wed, 17 Nov 2021 09:44:04 -0800

Algorithm and data structure - bucket sorting

Bucket sorting: The sorting under the bucket sorting idea is not based on comparison, and the application range is limited. The data status of the sample needs to meet the bucket division. The following describes the two sorting methods under the bucket sorting idea (1) Count sort (2) cardinality sort Time complexity O(N) Count so ...

Posted by Chronos on Wed, 17 Nov 2021 07:34:48 -0800

Hamiltonian problem and Hamiltonian ring

Hamiltonian problem and Hamiltonian ring In 1859, the Irish mathematician Hamilton proposed the following game to travel around the world: London, Paris, Moscow and other world-famous cities were marked on the 20 vertices of the regular dodecahedron, and the edges of the regular dodecahedron represent the routes connecting these cities. Can yo ...

Posted by jacinthe on Wed, 17 Nov 2021 07:29:56 -0800

Introduction to Niuke algorithm competition notes 1

2021-10-20: I opened a new pit yesterday. I felt OK after watching the previous episodes. I regretted why I didn't follow it earlier. I felt that my knowledge system was too scattered before. It seemed that the class ended in November or December. She said that she could reach the level of icpc bronze medal. I believe it for the time being. I h ...

Posted by Dia:NL on Wed, 17 Nov 2021 05:10:22 -0800

Java foundation -- Inheritance and polymorphism

catalogue 1, Package 1. Import classes in package 2. Static import 3. Access control of package 2, Inherit 1. Concept and usage of inheritance 2.protect 3. Summary  4.final 3, Polymorphism 1. Upward transformation 2. Dynamic binding 2.1 rewriting 2.2 difference between rewriting and overloading 3. Downward transformation 4.sup ...

Posted by IThinkMyBrainHurts on Wed, 17 Nov 2021 02:53:54 -0800

Power system power flow (realized by Matlab)

catalogue 1. Overview 2. Main tasks 3. Main content 4. PowerWorld simulation (1) Normal operation   (2) Load increase (3) Increase of generator output   5. MATLAB programming example (1) Flow chart of power flow calculation program (2) Program code of power flow calculation   6. Data acquisition (Baidu online disk) 1 ...

Posted by Pantho on Wed, 17 Nov 2021 00:58:12 -0800