队列链接存储操作的6种算法.docVIP

  • 3
  • 0
  • 约6.06千字
  • 约 6页
  • 2016-08-23 发布于重庆
  • 举报
队列链接存储操作的6种算法

/*原百度文库文章地址/view/6f24fa0f52ea551810a68739.html*/  #include stdio.h   #include stdlib.h   typedef int elemType;   /************************************************************************/   /* 以下是关于队列链接存储操作的6种算法 */   /************************************************************************/   struct sNode {   elemType data; /* 值域 */   struct sNode *next; /* 链接指针 */   };   struct queueLK {   struct sNode *front; /* 队首指针 */   struct sNode *rear; /* 队尾指针 */   };   /* 1.初始化链队 */   void initQueue(struct queueLK *hq)   {   hq-fron

文档评论(0)

1亿VIP精品文档

相关文档