Java - collection framework and data structure behind it

Objectives of this section Understand what a collection framework isUnderstand the meaning of learning set frameworkMaster the relevant interfaces and common implementation classes of the collection frameworkUnderstand what to learn in the next stage 1. Introduction Official course The Java Collection Framework, also known as the container c ...

Posted by dig412 on Thu, 25 Nov 2021 22:10:36 -0800

Using linked list to learn Rust: A Bad Stack

Books recommended by a good friend, take advantage of Thanksgiving holiday to learn! Original in here , you can find a lot of Chinese translations on the Internet. There are explanation videos on a certain station, but I haven't seen them very much, so it's hard to evaluate them. This note is some records and experience in my learning process. ...

Posted by mbrown on Wed, 24 Nov 2021 15:27:30 -0800

C language: single linked list

catalogue Write before: Preface - array defects What is a linked list node Chain header Create a new node Play - inserting nodes Traversal of linked list Lookup (search) of linked list Delete Linked List Clearing of linked list summary Write it at the back reference material Write before: This article is suitable for beginners ...

Posted by AnthonyArde on Wed, 24 Nov 2021 05:29:13 -0800

[operating system experiment] simulation using dynamic partition allocation (implemented in c + +)

Experimental purpose Understand the data structure and allocation algorithm used in dynamic partition allocation, and further deepen the understanding of dynamic partition storage management and its implementation process. Experimental content (1) The dynamic partition allocation process alloc() and the recovery process free() using the ...

Posted by cpjok on Mon, 22 Nov 2021 01:25:01 -0800

Leetcode 202 question: two solutions to Happy Number

Title Description Determines whether a number n is a happy number. The definition of happy number is as follows: Starting with any positive integer, replace the number by the sum of the squares of its digits. Repeat the process until the number equals 1 (where it will stay), or it loops endlessly in a cycle which does not include 1. Those ...

Posted by redrabbit on Sat, 20 Nov 2021 21:35:38 -0800

[data structure] circular snake? Leading bidirectional circular linked list of linked list

catalogue 1. Summary 2. Introduction of two-way circular linked list     2.1. Bidirectional linked list     2.2. Circular linked list     2.3. Two way circular linked list 3. Code implementation     3.1. Header file     3.2. Interface documents     3.3. Test documents 4. References 1. Summary This paper mainly introduces the concept of two ...

Posted by Svoboda on Sat, 20 Nov 2021 19:58:03 -0800

Linux basic instructions

Command format command [options] [arguments] Basic instructions: Directory related instructions, ordinary file instructions, matching search instructions, permission related instructions Instruction usage rules: instruction name [operation option] [operation object] Instruction Name: the name of a command, indicating the command to be exe ...

Posted by mikie46 on Fri, 19 Nov 2021 21:39:48 -0800

Data structure - linear table concept and basic operation

data structure Basic concept and operation of linear table (I) Mind map 2.1 definition and basic operation of linear table 2.1.1 definitions A linear table is a finite sequence of n (n ≥ 0) data elements with the same data type, where n is the table length. When n = 0, the linear table is an empty table. If L is used to name t ...

Posted by Dax on Fri, 19 Nov 2021 14:47:57 -0800

[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

70000 words, a summary of basic Java knowledge

catalogue ✨ Write in front ✨ Initial knowledge of Java and development environment installation 🙌 Java Language Overview 🎆 What is the Java language 🎆 Master Java 🎆 Why Java 🙌 Is Java the best language 🙌 Installation of development environment 🎆 JDK installation 🎆 Installation of IEDA ✨ Data types and operators 🙌 Variabl ...

Posted by Braimaster on Wed, 17 Nov 2021 16:41:08 -0800