搜索资源列表
add
- 本程序中,进行加法运算的整数的长度任意,利用双向循环链表实现长整数的存储,每个节点含一个整型变量,每个节点中仅存十进制数的4位,即不超过9999的非负整数,整个链表表示为万进制数,利用头结点数据域的符号代表长整数的符号,相加过程中不破坏两个操作数链表。
dllist
- 创建长度为n的双向循环链表,值为整数。 查找第k个元素并输出。 删除所有值为m的元素。 逆置链表并输出。
loop
- 将单链表变成双向循环链表,及其遍历 将单链表变成双向循环链表,及其遍历
changzhengshu
- 利用双向循环链表为主要存储结构,每个结点存储一个整形变量,按照中国对于长整数的习惯表示方法,将每四位存储在一个结点的值里面。
LinkList 实现单链表的所有基本操作
- 1、实现单链表的所有基本操作包括表的初始化、第i个元素前插入一个新的元素、删除第i个元素、查找某元素、顺序表的销毁。 2、测试链表所有功能 3、实现循环链表的基本操作,并编写测试程序。 4、实现双向链表的基本操作,并编写测试程序。 5、实现单链表的逆置。 6、判定两个链表是否相交。-A single linked list of all the basic operations, including the initialization of the table,
Double_circular_linked_list
- 双向循环链表(C语言实现),一个完整的C语言实现双向循环链表的例子,已经通过vc 6.0的编译运行成功-Double circular linked list (C language), a complete C language example of two-way circular list has been compiled by vc 6.0 runs successfully
datastr
- C/C++常用的数据结构类 包括: array.h: 安全数组,可自动增长大小(随机访问,但扩充时效率低) linkedlist.h: 普通链表(可随机访问,但访问效率低) dclinkedlist: 双向循环链表(不可随机访问,但插入、遍历的效率都比普通链表高) hashtable.h: 哈希表(使用键值标识元素,键值一样的元素即认为相等,需重载 == 运算符并由用户定义哈希函数) binstree.h: 二叉搜索树(需重载 == 和 < 运算符) avltr
algraph_binary_tree_huffmantree
- 创建静态,动态的三叉霍夫曼树和编码,有向无环图的创建及拓扑排序,双向循环链表,表达式求值,单链表,集合在一起-Create static and dynamic Huffman tree of the trigeminal and coding, directed acyclic graph creation and topological sort, two-way circulation list, expression evaluation, single-chain, together
RYC
- 问题描述:设计一个程序实现两个任意长的整数的求和运算。 基本要求:利用双向循环链表,设计一个实现任意长的整数进行加法运算的演示程序。要求输入和输出每四位一组,组间用逗号隔开。如:1,0000,0000,0000,0000。 -Problem Descr iption: Design a program to achieve the two arbitrary long integer summation operator. Basic requirements: the use of t
lianbiao
- 实现链表的程序。有单向链表,双向链表,循环链表等。-The realization of the procedure list. There are one-way linked list, two-way linked list, circular linked lists and so on.
DLink
- 1.求双向循环链表的长度 2.在双向循环链表指定位置插入一个元素 3.给定双向循环链表中一个结点元素值e,要求将数据y插入到元素e的前面 4.给定双向循环链表中一个结点元素值e,要求将数据y插入到元素e的后面 5.给定双向循环链表中一个结点元素值e,要求将数据y插入到元素e的后面 6.删除双向循环链表中指定位置的元素 7.给定双向循环链表中一个结点元素值e,要求将其对应结点删除 8.给定双向循环链表中一个结点元素值e,要求删除对应结点的直接前驱 9.给定双向循环链
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
list2
- 是STL中双向循环链表list的经典应用,面向对象的标准C++语法解决了josephus圈的问题,适合学习数据结构中stl中list的应用,需要面向对象的C++知识。-A concise aplication of "list" in STL, simple but powful.
DoubleLinkSoveJoseph
- 双向循环链表解决约瑟夫问题,并有教程 密码可以为正数(顺时针转),密码也可以为负数(逆时针转)。-Joseph-way circular linked list to solve the problem, and tutorials password can be positive (clockwise), the password can also be negative (CCW).
big_num
- 基于双向循环链表的大整数加减法 整数大小不限 支持负数-Two-way circular list based on integer addition and subtraction of large size of the open support of negative integer
CList
- C语言版的链表实现。带头节点的双向循环链表。访STL vector的实现。-C language version of the linked list implementation. Two-way circular list node to take the lead. Visit STL vector implementation.
test
- 建立一个双向循环链表,并在里面增加一个freq,初使为0,每当lcate(l,x)访问X一次相的freq加1,同时链表顺序也按freq的大小非递增排列-A two-way circular linked list, and in which an additional freq, initialization is 0, when lcate (l, x) access to a phase freq X plus 1, but also by freq list the size of the
1
- 任意长度整数加法运算,数据结构类型为双向循环链表-Arbitrary length integer addition operation, the data type is double circular linked list structure
memory
- 模拟内存分配中的首次循环适应算法,用双向循环链表实现-Simulation of memory allocation in the first cycle adaptation algorithm
Single_LinkedList.py
- python的链表操作、单链表、循环链表、双向链表、带尾指针的链表以及链表排序等基本操作(Python linked list operations, single chain table, circular chain list, two-way chain list, with the tail pointer of the chain list, and chain sorting and other basic operations)