Files
Linux-C-Notes/Chapter11/数据结构.md

36 lines
525 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 数据结构
## 架构梳理
- 线性1:1)
- 线性表
- 顺序存储 --> arr
- 链式存储 --> 指针 (有头,无头)
有头是指有一个不存数据的头,始终作为这个链表的起点。
会更加简单,无头的话,更改首部节点会麻烦。
- 单链表
- 循环
- 不循环
- 双向链表
- 循环
- 不循环
-
- 队列
- 树状1:N
**递归**。**递归**转**非递归**。
-N:M