[data structure and algorithm] program internal skill Part 4 - stack
1, Principle of stack
Stack is a linear table (commonly known as stack) that is restricted to insert and delete operations at one end
The end at which operations are allowed is called the "top of the stack"
The other fixed end is called "stack bottom"
When there are no elements in the stack, it is c ...
Added by MNS on Thu, 10 Mar 2022 15:07:56 +0200
System master data structure 3 linear table C + + implementation
(this article and each subsequent article have such a structure. First, we will talk about the logical structure, then preliminarily understand the physical structure, then realize the code, and finally re understand the advantages and disadvantages of the physical structure in combination with the code. The code of this chapter and the exer ...
Added by pfoger on Thu, 10 Mar 2022 11:11:11 +0200
Open volume data structure - linked list
💟 About the author: Hello, I'm Ceylan_, You can call me CC ❣️
📝 Personal homepage: Ceylan_ Blog
🏆 Blogger information: ordinary freshmen have extraordinary dreams
Column
Prepare for the Blue Bridge Cup
One question per day
PTA ladder race
⚡ I hope you can give me more support 😘 Progress together~ ❤️
🌈 If helpfu ...
Added by gere06 on Tue, 08 Mar 2022 14:08:59 +0200
In 2021, specially inserted candidates carefully sorted out the notes of computer foundation and data structure
Must do problem sorting
At 21:40 on April 11, 2021, I was very skeptical about life after the exam. I originally wanted to rely on professional courses to score points. I also expected that there would be a large number of applicants for specialized courses this year. In addition, the reform of professional courses should be simpler, but I did ...
Added by KingIsulgard on Tue, 08 Mar 2022 13:26:58 +0200
JAVA advanced IO stream
IO
Use of File class
Get function of File class
public String getAbsolutePath(): get absolute path public String getPath(): get path public String getName(): get the name public String getParent(): get the directory path of the upper level file. If none, null is returned public long length(): get the length of the file (i.e. the number ...
Added by Pyro on Tue, 08 Mar 2022 05:40:15 +0200
Hash table management employee information
Basic introduction of hash table
Hash table (also known as hash table) is a data structure that is accessed directly according to the key value. That is, to speed up the search by mapping it to a key in the table. This mapping function is called hash function, and the array storing records is called hash table. (the bottom layer of hash table ...
Added by emorr1981 on Mon, 07 Mar 2022 23:27:57 +0200
MyBatis review day03 multi table operation
MyBatis multi table operation
Multi table query means that when the query returns the result, it cannot automatically match the number. We will manually seal a Map for it and manually Map the data manually.
The following two tables are used as examples
orders table:
users table:
example: one to one query. One order corresponds to one use ...
Added by Journey44 on Sun, 06 Mar 2022 16:36:35 +0200
Data structure - sequential list, linked list
I Data structure overview
Data Structure is a subject that studies the organization and management of data. It is often expressed externally as a collection or container of a set of data.
Concept explanation:
Element: managed atomic data, unlimited element types.
Collection: a container for storing elements. It needs to organize elements wi ...
Added by thenature4u on Sun, 06 Mar 2022 11:51:52 +0200
Experience day34
Article link: Three hundred lines per day (summary)_ minfanphd blog - CSDN blog
Depth first traversal of Day34 graph
34.1 ideas
Compared with breadth first traversal, depth first traversal is depth traversal, and depth traversal is more like the first root traversal of a tree. The depth traversal is realized with the help of the stack. As sh ...
Added by kerplunk on Sun, 06 Mar 2022 05:28:30 +0200
Headless unidirectional acyclic linked list of linear list
catalogue
1, Key points of this chapter
2, Introduction to linked list
3, Implementation of common interfaces for headless one-way acyclic linked list
3.1 dynamically apply for a node
3.2 single linked list printing
3.3 single chain table tail insertion
3.4 head insertion of single chain table
3.5 tail deletion of single linked list
3. ...
Added by coldwerturkey on Sun, 06 Mar 2022 03:30:36 +0200