资 源 简 介
K路归并算法
* 本程序用来实现K路归并算法
* 在Turbo C2.0编译器下编译通过
* 算法过程中
* K由用户输入
* 用户选择需要归并的数据的个数
* 由程序生成随机数据,数据结构为链表,并展示给用户
* 然后程序告诉用户需要增加的虚节点的个数
* 并把虚节点加入到链表中去,最后进行归并
-K Road merge algorithm* This procedure used to realize the way merging algorithm for K* in Turbo C2.0 compiler compiler under the process through the* algorithm* K* by the user input the user select the number of merging the data* generated by the random data , data structure for the list, and display to the user* and then the procedure to tell the user the need to increase the number of virtual nodes and virtual nodes* added to the list going, and finally to merge