chunlanse2014

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

2015年4月18日 #

2.3线性表的链式存储和运算—循环链表

摘要: 对于单链表而言,最后一个结点的指针域是空指针,如果将该链表头指针置入该指针域,则使得链表头尾结点相连,就构成了单循环链表。如图2.16 所示。在单循环链表上的操作基本上与非循环链表相同,只是将原来判断指针是否为NULL变为是否是头指针而已,没有其它较大的变化。对于单链表只能从头结点开始遍历整个链表,... 阅读全文

posted @ 2015-04-18 20:06 chunlanse2014 阅读(177) 评论(0) 推荐(0) 编辑

Pointers and Dynamic Allocation of Memory

摘要: METHOD 1:Consider the case where we do not know the number of elements in each row at compile time, i.e. both the number of rows and number of columns... 阅读全文

posted @ 2015-04-18 16:34 chunlanse2014 阅读(266) 评论(0) 推荐(1) 编辑

点击右上角即可分享
微信分享提示