Educational Codeforces Round 85 (Rated for Div. 2) A~E problem solution

A. Level Statistics meaning of the title Give you a sequence of game moments, each of which contains p i , c i ...

Added by mcclellanfsu on Sun, 26 Dec 2021 14:01:34 +0200

[data structure] Bloom Filter of initial data structure and its implementation

[data structure] Bloom Filter of initial data structure and its implementation If you think it's helpful to you, can you point a praise or close a note to encourage the author?! Blog directory | click here first Premise concept What is a bloom filter?What is the function of Bloom filter?Defects of Bloom filter data structure Key factors ...

Added by jonemo on Sun, 26 Dec 2021 13:50:08 +0200

Computer experiment of data structure (Chapter 3) II

Computer experiment of data structure (Chapter III) I 1. Input n (input by the user) numbers within 10, insert them into queue i every time i(0 ≤ i ≤ 9) is input, and finally connect the non empty queues in 10 queues into a chain in the order of queue number from small to large, and output all elements of the chain. Algorithm idea: e ...

Added by rallen102 on Sun, 26 Dec 2021 12:35:17 +0200

Data structure: Comments on programming homework -- how to write more complex programs?

The child previewed the data structure course in the summer vacation and wrote an exercise. Let me comment. Let's take a look at the problems with his code. subject The topic is to write a linear table related data operation algorithm. Specifically, write a book management program. The information content of the book is as follows: code ...

Added by Trojan on Sun, 26 Dec 2021 11:47:44 +0200

⭐ Introduction to algorithm ⭐ Stack monotone stack simple 01 - LeetCode 155 Minimum stack

🙉 If you don't eat or drink, you must brush the questions 🙉 C language free animation tutorial, punch in with me! 🌞 Daylight science C language 🌞 LeetCode is too hard? Look at the simple questions first! 🧡 100 cases of introduction to C language 🧡 Difficult data structure? It doesn't exis ...

Added by darknuke on Sun, 26 Dec 2021 08:38:21 +0200

Watching the children play games immediately solved Joseph's problem

preface ★ this is Xiao Leng's blog ‡ see the column for high-quality technical articles The official account of the individual, sharing some technical articles, and the pit encountered. Current series: data structure series Source code git warehouse‘ Data structure code address Code Git warehouse address Circular linked list ...

Added by swampster on Sun, 26 Dec 2021 08:29:48 +0200

Data structure (8-3) binary sort tree (find, insert, delete)

catalogue 1, Basic theory 1. Features: 2. Structure: 2, Search 3, Insert 4, Delete 1. The deleted node D is a leaf node 2. The deleted node D has only one child 2-1. Delete node 14 (left or right) 2-2. Delete node {10 (right or left) 3. Both left and right children of the deleted node exist Method 1: replace the root node with the l ...

Added by fusionxn1 on Sun, 26 Dec 2021 05:21:42 +0200

[data structure] linked list (one-way headless acyclic) (C language)

1. Basic concepts: Linked list: a non continuous and non sequential storage structure in the physical storage structure. The logical order of data elements is realized through the pointer link order in the linked list. The linked list has 8 structures: 1. Headless one-way non circulation 2. Headless one-way circulation 3. Leading single circ ...

Added by ruthsimon on Sun, 26 Dec 2021 03:35:55 +0200

Data structure - stack

preface This paper is based on C language. The following is the main content of this article, and the following cases can be used for reference 1, Concept and structure of stack Stack: a special linear table that allows insertion and deletion of elements only at a fixed end. One end for data insertion and deletion is called the to ...

Added by jamal dakak on Sat, 25 Dec 2021 23:17:00 +0200

Data structure STL -- implementation of hashMap HashMap by golang

Storage address of GitHub warehouse: https://github.com/hlccd/goSTL summary hash map is a two-layer structure, that is, the first layer uses dynamic array as bucket to store elements, and the second layer stores elements with conflicting hash values. For any element inserted into it, you can calculate the hash value of its key, map it to the ...

Added by always_confused on Sat, 25 Dec 2021 20:31:30 +0200