Source code analysis:
We know that the bottom layer of LinkedList is implemented by a doubly linked list, so let's analyze it from the perspective of the source code, first look at its class structure:
Then take a look at its construction:
Summarize: