搜索资源列表
约瑟夫环的循环链表实现
- 约瑟夫环的循环链表实现,这个程序比较完整,有需要做试验的请速速下载。-Josephus cycle Chain achieved, the procedure is complete, the pilot needs to be done urgently requested to download.
循环链表实现Joseph
- 循环链表实现约瑟夫环,并对输入错误进行检查和提示。-cycle Chain achieve Josephus, and input error check and tips.
循环链表
- 数据结构中链表的算法,很好,可以运行循环链表.c
循环链表解决约瑟夫问题
- 利用循环链表解决约瑟夫问题,内附源代码,详细实验报告,C++可以运行
设A与B分别为两个带有头结点的有序循环链表
- 设A与B分别为两个带有头结点的有序循环链表(所谓有序是指链接点按数据域值大小链接,本题不妨设按数据域值从小到大排列),list1和list2分别为指向两个链表的指针。请写出将这两个链表合并为一个带头结点的有序循环链表的算法,Set up A and B respectively with the first two nodes in an orderly circulation list (so-called orderly means the link click data link thre
dxxhlb
- 已知有一个单向循环链表,其每一个结点中含三个域:pre,data和next,其中data为数据域,next为指向后继结点的指针域,pre也为指针域,但它的值为空(NULL),试编写算法将此单向循环链表改为双向循环链表,即使pre成为指向前驱结点的指针域。-Known to have a one-way circulation list, which each node contains three domains: pre, data and next, in which data for th
list
- 程序实现了带表头单链表的最基本操作,包括创建链表,查询数值,插入结点,删除结点,链表分解,将单链表变为循环链表。并附有详细的注释和实验报告。-Procedures to achieve a single-list header with the most basic operation, including the creation of list, query value, insert node, delete node, chain decomposition, into a single
lianbiao
- 实现链表的程序。有单向链表,双向链表,循环链表等。-The realization of the procedure list. There are one-way linked list, two-way linked list, circular linked lists and so on.
memory
- 使用双向循环链表实现的动态内存管理,包括申请和分配内存块的过程-The realization of the use of two-way circulation list of dynamic memory management, including the application and allocation process of memory blocks
double-stranded
- 循环双链,动态的循环链表,提供插入和删除等功能。-Cycle of double-stranded
lianbiao
- 循环链表操作,包括循环链表的建立、节点插入、删除、计数、逆置、显示等-List operating cycle, including the establishment of circulation list, node insert, delete, count, against the home, show, etc.
liangbiao
- linux双向循环链表操作 用c语言编写。在linux平台上运行-linux two-way circular list for operation c language. Run on the linux platform
Data_Structure_C
- 基本数据结构的C实现。包括: (1)线性顺序表 (2)单链表 (3)双向循环链表 (4)顺序栈 (5)链式队列 (6)循环队列 (7)二叉树的先序、中序、后序的递归遍历和非递归遍历。-C-realization of the basic data structure. Include: (1)Sq_List (2)Linked_List (3)Du_linkedlist (4)Sq_Stack (5)Linked_Queue (6)Cycl
DoubleLinkList
- 循环链表的基本操作,包括创建表,插入数据,删除数据,查找数据,获取数据-Circular linked list of basic operations, including creating tables, inserting data, deleting data, find data, get data ... ...
C++数据结构代码
- 本压缩包里含有队列、链表(单链表、双链表和循环链表)、栈、队列、两个栈实现一个队列、二叉树等数据结构的C++代码实现。
双向循环链表
- 双向循环链表 利用Java编写,实用方法插入把Object x插入到链表的第 i 个位置(Two-way circular linked list, written using Java, practical method to insert the Object x inserted into the list of the first I position)
11
- 编程实现如何创建含有n个结点的单向循环链表(programing to realize creating single linklist with n node)
reverse circular list
- 不断输入数字串,构建循环链表,并将其倒置后输出(reverse circular list)
Exercise3
- 双向循环链表的基本操作,包括创建,插入,删除(Basic operation of the bidirectional circular chain table)
约瑟夫问题-循环链表典型应用
- 约瑟夫问题-循环链表典型应用 n 个人围成一个圆圈,首先第 1 个人从 1 开始一个人一个人顺时针报数, 报到第 m 个人,令其出列。然后再从下一 个人开始从 1 顺时针报数,报 到第 m 个人,再令其出列,…,如此下去,求出列顺序。 求解: 假设 m = 3, n = 8 (1 2 3 4 5 6 7 8) 结果: 3 6 1 5 2 8 4 7(Joseph problem - typical application of circular list N peopl