-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
第二十九题:什么是链表? #29
Labels
DataStructure
数据结构
Comments
什么是链表链表是一种物理存储单元上非连续,非顺序的存储结构,数据元素的逻辑顺序是通过链表中的指针连接次序实现的。链表由一系列节点组成,节点可以在运行时动态生成。每个节点包含两个部分: 一个是存储节点的数据域(当前的数据),另一个是节点地址的指针域(next)。链表允许插入和移除表上任意位置的节点,但是不允许随机存取。 链表有,单向链表、双向链表、循环链表等。 实现一个链表
双向链表实现以上题目
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
构建单向列表
写一个方法
输入:[1, 2, 3]
输出:3 -> 2 -> 1
The text was updated successfully, but these errors were encountered: