文件名称:Merge
介绍说明--下载内容均来自于网络,请自行研究使用
假设有两个按元素值递增有序排列的线性表A和B,均以单链表作存储结构,请编写算法将A表和B表归并为一个按元素值递减
有序(即非递增有序,允许表中含有值相同的元素)排列的线性表C,并要求利用原装(即A表和B表)的结点空间构造C表。-Suppose there are two elements of value increasing by an ordered arrangement of the linear forms A and B, are linked to a single storage structure, write the algorithm to A and B table table combined into a descending order by element value (ie, a non-incremental order to allow the table contains the value of the same element) arranged in a linear form C, and require the use of original (ie, A and B Table Table) node spatial structure C table.
有序(即非递增有序,允许表中含有值相同的元素)排列的线性表C,并要求利用原装(即A表和B表)的结点空间构造C表。-Suppose there are two elements of value increasing by an ordered arrangement of the linear forms A and B, are linked to a single storage structure, write the algorithm to A and B table table combined into a descending order by element value (ie, a non-incremental order to allow the table contains the value of the same element) arranged in a linear form C, and require the use of original (ie, A and B Table Table) node spatial structure C table.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Merge.cpp