数据结构学习-栈与队列(2)

问题描述: 输入n个10之内的数,每输入i,就把它插入到第i号队列中。最后把10个队列中非空队列,按列号从小到大的顺序串成一条链,并输出该链的全部元素。node 代码: #include <iostream> #include <malloc.h> using namespace std; typedef struct node { int data; struct node
相关文章
相关标签/搜索