当前位置:文档下载 > 所有分类 > 高等教育 > 工学 > 数据结构--ch2. 线性表2
侵权投诉

数据结构--ch2. 线性表2

数据结构

)

linked list linked list

) Typedef int datatype; typedef structure node/*{datatype data;/* */ struct node *next;}JD;/*next JD *head,*p; p Data

---------

-----

*

---

------n

) linked list ----

---------

--( ^ null

)---

--head,“ head”

Head a1 a2 an^

Head a1 a2 an^

) */ p Data next

p */ */ p--*p--(*p).data (*p).next

(*p)

/* next

p p->data---p->next----

p p

p

(*p)

数据结构--ch2. 线性表2

数据结构--ch2. 线性表2

数据结构--ch2. 线性表2

数据结构--ch2. 线性表2

数据结构--ch2. 线性表2

数据结构--ch2. 线性表2

第1页

猜你喜欢

返回顶部