21:31:04 2019-08-17

今天开始的时间有点晚

 00:09:22 2019-08-18

又重新开始学 希望这次能够入门  每天开始学习数据结构的时间有点晚了 要调整一下

23:26:58 2019-08-20

 补上了测试

 

单链表

List.h

 1 #ifndef _LIST_H
 2 #define _LIST_H
 3 #define len sizeof(Node)
 4 
 5 typedef struct Node* PtrToNode;
 6 typedef PtrToNode List;
 7 typedef PtrToNode Position;
 8 struct Node
 9 {
10     int Element;
11     Position Next;
12 };
13 List MakeEmety(List L);
14 int IsEmpty(List L);
15 int IsLast(Position P, List L);
16 Position Find(int Element, List L);
17 void Delete(int Element, List L);
18 Position FindPrevious(int Element, List L);
19 void Insert(int Element, List L, Position P);
20 void DeleteList(List L);
21 Position Header(List L);
22 Position First(List L);
23 
24 #endif // !_LIST_H
View Code

相关文章:

  • 2021-04-25
  • 2021-09-04
  • 2021-06-05
  • 2021-10-09
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-04-08
  • 2022-12-23
相关资源
相似解决方案