Linked list instance application

catalogue 1: Only realize the addition and access of linked list                     Internal class access properties 2: The content stored in the linked list is the object of the class   1: Only realize the addition and access of linked list class Link{ private class Node{//Internal class Node private String data; ...

Posted by nokicky on Fri, 03 Sep 2021 11:28:44 -0700

Summary of Array and Chain List Properties

1. Storage of data structures There are only two ways to store data structures: array (sequential storage) and chain table (chain storage). What do you mean by this sentence? Aren't there any data structures like hashes, stacks, queues, heaps, trees, graphs, etc? When we analyze problems, we must have recursive thinking, from top to bottom, ...

Posted by jonex on Thu, 02 Sep 2021 01:02:15 -0700

10, Learn java collection sub interface: Set interface

1. Characteristics of stored data: unordered and unrepeatable elements concrete: Take HashSet as an example: 1. Disorder: not equal to randomness. The stored data is not added in the order of array index in the underlying array, but according to the order of data**Hash value**Decided. 2. Non repeatability: ensure that the added elements f ...

Posted by DontheCat on Wed, 01 Sep 2021 14:53:11 -0700