## Data structure -- use of stacks and queues

catalogue 1, Understanding and use of stack 1.1 what is stack 1.2 simple implementation of stack 1.3 introduction to methods in stack one point four Practice on stack 2, Understanding and use of queues 2.1 what is a queue 2.2 implementation of simple queue 2.3 introduction to methods in queue 3UTF-8...

Posted by lordtrini on Fri, 01 Oct 2021 10:14:29 +0530

## Tutorial of SWPU pre team contest (2021)

Tutorial of SWPU Pre-teammate Contest ( 2021 ) The competition question is still open, click SWPU Pre-teammate Contest ( 2021 ) Questions can be answered. A. Hello ACM ! Inspired by Luogu P1000 super Mary game The earliest goal is to hope that everyone can pass the question. As a result, there UTF-8...

Posted by henka on Sat, 02 Oct 2021 05:00:08 +0530

## C++11 deque Usage Summary (sorting)

catalogue 1. Introduction to deque 1.1 creation and initialization of deque 2. deque member function uses 2.1 function method for adding elements 2.2. Function methods for deleting elements 2.3 iterator function - traversal 2.4 other related functions 1. Introduction to deque The deque containUTF-8...

Posted by mjm7867 on Sun, 03 Oct 2021 00:47:28 +0530

## 7-18 simple simulation of banking business queue

7-18 simple simulation of banking business queue Suppose A bank has two business windows A and B, and the processing speed is different. The processing speed of window A is twice that of window B - that is, when window A processes two customers, window B processes one customer. Given the customUTF-8...

Posted by Ghost_81st on Sun, 03 Oct 2021 01:16:12 +0530

## Leetcode 1436 travel terminal topology sorting and query set and queue

Topic introduction Difficulty: easy Here is a travel route map. The travel routes in the route map are represented by an array of paths, where paths[i] = [cityAi, cityBi] means that the route will go directly from cityAi to cityBi. Please find out the destination of this trip, that is, the cityUTF-8...

Posted by scheinarts on Sun, 03 Oct 2021 06:03:53 +0530

## Data structure - hash table

Data structure - hash table knife The first time I ended the hash table was in the data structure class. When talking about search, the teacher casually mentioned the concept of hash table. Recently, I used hash table in chat room to have a deeper understanding of hash table. 1. What is HashMapUTF-8...

Posted by lee20 on Sun, 03 Oct 2021 06:56:59 +0530

## Swordfinger offer theme - algorithm training day03

Swordfinger offer theme - algorithm training day03 _Next to the previous article on the Fibonacci series, let's take a brief look at dynamic programming _At this stage, we only need to know three steps to solve the problem of moving back. 1. Define state 2. Write the state transfer equation 3.UTF-8...

Posted by Huuggee on Sun, 03 Oct 2021 23:27:11 +0530

## Trees and Binary Trees

Review Trees and Binary Trees 1.Definition of tree A tree is a finite set of n (n >= 0) nodes and is a one-to-many data structureWhen n = 0, it is called an empty treeWhen n > 0 is called a non-empty tree, it has the following properties There is only one special node, called the root nodeThe rUTF-8...

Posted by Smruthi on Sun, 03 Oct 2021 23:52:32 +0530

## Python crawler - Python basic notes

1. Notes In the process of coding, if the logic of a piece of code is complex and not particularly easy to understand, appropriate comments can be added to assist ourselves or other coders in interpreting the code. Note: comments are for programmers. In order to make it easy for programmers to UTF-8...

Posted by soldbychris on Mon, 04 Oct 2021 02:07:37 +0530

## Implementation of double linked list (C language) -- data structure

The linked list can be said to be the most basic part of the data structure. It is divided into single linked list and double linked list. The difference between them is that the single linked list structure has only one node to point to the elements behind it, while the double linked list hasUTF-8...

Posted by python_q on Mon, 04 Oct 2021 05:00:33 +0530