文件名称:list
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:923byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
1、 合并两个链表
问题描述:设A与B分别为两个带有头结点的有序循环链表(所谓有序是指链接点按数据域值大小链接,本题不妨设按数据域值从小到大排列),list1和list2分别为指向两个链表的头指针。请写出将这两个链表合并为一个带头结点的有序循环链表的算法。
-1, the merger of the two lists descr iption of the problem: Let A and B are two nodes with the first order circular list (the so-called point of order is the link to the link at the size of data field values, this question may wish to set the value data field at an early age to large order), list1 and list2 points to the two lists were the head pointer. Please write the two lists into one ordered to take the lead node algorithm for circular linked list.
问题描述:设A与B分别为两个带有头结点的有序循环链表(所谓有序是指链接点按数据域值大小链接,本题不妨设按数据域值从小到大排列),list1和list2分别为指向两个链表的头指针。请写出将这两个链表合并为一个带头结点的有序循环链表的算法。
-1, the merger of the two lists descr iption of the problem: Let A and B are two nodes with the first order circular list (the so-called point of order is the link to the link at the size of data field values, this question may wish to set the value data field at an early age to large order), list1 and list2 points to the two lists were the head pointer. Please write the two lists into one ordered to take the lead node algorithm for circular linked list.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
合并两个链表.cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.