随笔分类 -  数据结构和算法分析

数据结构与算法分析学习笔记
队列的数组实现
摘要:声明 curosr_queue.h: 1 #ifndef CURSOR_QUEUE_H_INCLUDED 2 #define CURSOR_QUEUE_H_INCLUDED 3 struct QueueRecord; 4 typedef struct QueueRecord *Queue; 5 6... 阅读全文

posted @ 2015-09-23 14:09 川川的小铁柱 阅读(88) 评论(0) 推荐(0)

链表的数组实现
摘要:声明 cursorLinkedList: 1 #ifndef CURSORLINKEDLIST_H_INCLUDED 2 #define CURSORLINKEDLIST_H_INCLUDED 3 typedef int PtrToNode; 4 typedef PtrToNode Position... 阅读全文

posted @ 2015-09-23 11:46 川川的小铁柱 阅读(186) 评论(0) 推荐(0)

栈的数组实现
摘要:声明 cursor_stack.h: 1 #ifndef CURSOR_STACK_H_INCLUDED 2 #define CURSOR_STACK_H_INCLUDED 3 struct StackRecord; 4 typedef struct StackRecord *Stack; 5 6... 阅读全文

posted @ 2015-09-23 11:38 川川的小铁柱 阅读(121) 评论(0) 推荐(0)

栈的链表实现
摘要:声明 stack.h: 1 #ifndef STACK_H_INCLUDED 2 #define STACK_H_INCLUDED 3 struct Node; 4 typedef struct Node *PtrToNode; 5 typedef PtrToNode Stack; 6 7 int... 阅读全文

posted @ 2015-09-23 11:27 川川的小铁柱 阅读(135) 评论(0) 推荐(0)

队列的链表实现
摘要:queue.h: 1 #ifndef QUEUE_H_INCLUDED 2 #define QUEUE_H_INCLUDED 3 struct Node; 4 typedef struct Node QNode; 5 struct Queue; 6 typedef struct Queue *Ptr... 阅读全文

posted @ 2015-09-23 11:20 川川的小铁柱 阅读(149) 评论(0) 推荐(0)

链表实现多项式加法
摘要:头文件polynom.h: 1 #ifndef POLYNOM_H_INCLUDED 2 #define POLYNOM_H_INCLUDED 3 4 struct Node; 5 typedef struct Node *PtrToNode; 6 typedef PtrToNode Po... 阅读全文

posted @ 2015-09-18 17:49 川川的小铁柱 阅读(213) 评论(0) 推荐(0)

链表
摘要:链表的声明头文件: 1 #ifndef _List_h 2 3 struct Node; 4 typedef struct Node *PtrToNode; 5 typedef PtrToNode List; 6 typedef PtrToNode Position; 7 8 List Make... 阅读全文

posted @ 2015-09-17 10:58 川川的小铁柱 阅读(109) 评论(0) 推荐(0)

导航