python bidirectional linked list and bidirectional circular linked list
I hope to take notes to record what I have learned, and I hope it can help the same beginner. I also hope that the big guys can help correct the error ~ infringement legislation and deletion.
catalogue
1, Concepts of bidirectional linked list and bidirectional circular linked list
2, Implementation of bidirectional linked list
1. Create nod ...
Posted by speps on Thu, 03 Feb 2022 02:25:08 +0100
Java multithreading -- Concurrent HashMap
In the previous article, I have published common interview questions. Here I spent some time sorting out the corresponding answers. Due to my limited personal ability, it may not be in place. If there are unreasonable answers, please give me some advice. Thank you here.
This paper mainly describes the concurrent HashMap, a high-frequency inter ...
Posted by claypots on Thu, 03 Feb 2022 01:37:13 +0100
Review the old and know the new - > data structure - > sorting - > program implementation 1_ Using C language
Review the old and know the new - > data structure - > sorting - > program implementation 1_ Using C language
This blog is based on Review the old and know the new - > data structure - > sorting Part of the theoretical knowledge of sorting in the program!
Among them, three kinds of quick sorting in exchange sorting, recursive a ...
Posted by Karlos2394 on Wed, 02 Feb 2022 03:59:01 +0100
Linked list problem, how to deliver the turtle gracefully?
preface
Hello, I'm "programmer bear" from Huawei. Most children's shoes know that when solving problems related to "linked list", the commonly used problem-solving routines mainly include "double pointer", "iteration" and "virtual head node".
Today, "Little Bear" introduces the strat ...
Posted by manchuwok on Tue, 01 Feb 2022 13:24:15 +0100
Practical series - thread safe collection class in Java
Introduction in java development, we often encounter the problem of thread safety of set classes. In the development process of Java language, from the initial thread unsafe set classes to the thread safe set classes that basically support many thread safe set classes, we don't need to pay attention to thread safety in some scenes ...
Posted by tmayder on Mon, 31 Jan 2022 23:31:42 +0100
Brother Jiang takes you to play with C language | 17 - file operation
Basic concepts of documents
File stream:
c language regards a file as a sequence of characters, that is, a file is a character stream composed of one character. Therefore, c language also calls a file a file stream. Document classification
text file
It is stored in ASCII format, and one character is stored in one byte. Each byte of ...
Posted by gentusmaximus on Mon, 31 Jan 2022 14:12:06 +0100
Data structure -- 01
Data structure and algorithm relationship
Data structure data structure is a subject that studies the way of organizing data. With programming language, there will be data structure and write more beautiful and efficient codeTo learn data structure, we should consider more problems in life and solve them with programsProgram = data structure + ...
Posted by bizerk on Mon, 31 Jan 2022 03:10:24 +0100
Easy use of stack and implementation of stack by hand
Concept and characteristics of stack
Stack is a special linear table, which only allows the insertion and deletion of elements at the fixed end. One end for data insertion and deletion is called the top of the stack, and the other end is called the bottom of the stack. The data elements in the stack follow the principle of Last In First Ou ...
Posted by 2levelsabove on Sun, 30 Jan 2022 17:26:23 +0100
One article to solve the classic algorithm problem of linked list
Common questions about linked lists, such as:
Get the last k element, get the element in the middle position, judge whether there is a ring in the linked list, judge the length of the ring, and problems related to the length and position.
These problems can be solved through the flexible use of double pointers.
Sword finger Offer 22 The ...
Posted by T2theC on Sat, 29 Jan 2022 20:39:08 +0100
Experiment 2 linked list experiment odd even number classification
Odd and even number classification based on linked list
1, Demand analysis
1. The data storage structure is linked list 2. The input form is keyboard, including numbers 1-9, spaces, and enter 3. The output form is print form 4. Contains the basic operations of the linked list 5. Be able to complete the sorting operation specified 6. It can se ...
Posted by onthespot on Sat, 29 Jan 2022 18:50:05 +0100