搜索资源列表
多项式求和
- 1、 程序功能:本程序实现多项式的求和运算,在遇到指数相同时实行系数相加或相减,指数不同的照原样输出。最后分别输出系数和指数。 2、 运行环境:C++ 3、 算法描述:首先,把输入的的多项式进行分析,把所有的系数放入一个单链表中llist,指数放入另一个单链表llist2中。然后再在指数链表中比较有没有相同的指数,如果有相同的指数,那就把相对应的系数进行求和,并把求和结果归并到llist2中;如果指数不相等的,就直接归并到llist2中。最后以指数的降幂形式输出。
sf22带头结点的单链表 C++ Source File
- sf22带头结点的单链表,可以删除添加数据。C-sf22 lead single node chain and the addition of data can be deleted. C
链表的C语言实现之单链表的实现
- 所谓链表,就是用一组任意的存储单元存储线性表元素的一种数据结构-so-called List, a group is using an arbitrary memory cell storage element linear form of a data structure
单链表
- 单链表c++算法实现-Algorithm
C源代码实例
- 包含220个C语言的各种源程序:001 第一个C程序 002 运行多个源文件 003 求整数之积 004 比较实数大小 005 字符的输出 006 显示变量所占字节数 007 自增/自减运算 008 数列求和 009 乘法口诀表 010 猜数字游戏 011 模拟ATM(自动柜员机)界面 012 用一维数组统计学生成绩 013 用二维数组实现矩阵转置 014 求解二维数组的最大/最小元素 015 利用数组求前n个
WL40987330 C语言算法集
- 目录 第一部分 基础篇 001 第一个C程序 002 运行多个源文件 003 求整数之积 004 比较实数大小 005 字符的输出 006 显示变量所占字节数 007 自增/自减运算 008 数列求和 009 乘法口诀表 010&
单链表基于线性表的实现
- 1. 基于链表实现线性表的以下基本操作: interface ILinarList<T> { void InsertNode(T a); //在表末尾插入元素 void InsertNode(T a, int i); //在指定的位置i插入元素 void DeleteNode(int i); //删除操作 T SearchNode(int i); //查找表元素 int SearchNode(T value); //定
_ch201.c
- 将城市信息输入单链表,包括城市名和坐标,要求给定城市名能返回其坐标位置-City information into a single list, including the city name and coordinates of a given city were asked to return to their coordinates location
C
- 一些C语言的常用基本算法,包括单链表,二叉树,顺序队列-Some of the commonly used C language the basic algorithm, including the single-linked list, binary tree, the order queue, etc.
XIANXING
- 线性表的建立与基本运算1.采用表尾挂入法建立一个以la为头的单链表2.采用表首插入法建立一个yilb为头指针的单链表3.就地逆转以lb为头指针的单链表。 还有矩阵的链式存贮及运算。以一个c函数创建任一稀疏矩阵的十字链表。以一个c函数从十字链表的头指针起按行序及三元组形式输出十字链表中各节点的值
EnhancedLinkedList
- 用C++实现的加强版的单链表,包括插入、删除、查找等功能。-The Implemention of EnhancedLinkedList
homework_1
- 已知两个单链表 A 和 B 分别表示两个集合,其元素递增排列。请编写程序求集合 A 和 B 的交集 C = A B,要求单链表C按其元素递增排列,并利用原表(即表A和表B)的结点空间存放表C。-A list of known and two single-B, respectively, two sets of its elements in ascending order. Please write a program seeking the intersection of se
lcj_单链表源代码
- 一、 实验目的 1、 掌握线性表的链接存储结构; 2、 验证单链表及其基本操作的实现; 3、 进一步理解算法与程序的关系; 4、 能将单链表算法关系转化成对应的程序;(First, the purpose of the experiment 1. Master the link storage structure of the linear table; 2, verify the single linked list and its basic operation; 3, to
structure
- 数据结构中单链表的创建和栈的创建,用C语言实现创建(Data structure in the creation of single-linked list and stack creation, with the C language to achieve the creation)
数据结构-单链表-实验报告
- 1.实验目的及要求 1.1实验目的: (1)掌握线性表的顺序存储结构; (2)验证单链表及其基本操作的实现; (3)进一步理解算法与程序的关系,能够将单链表算法转换为对应的程序。 1.2 实验要求: (1)用头插法(或尾插法)建立带头结点的单链表; (2)对已建立的单链表实现插入、删除、查找等基本操作。(1 the purpose and requirements of the experiment 1.1 the purpose of the experiment:
逆置单链表
- 逆置单链表 采用C语言进行编写,该算法可以对单链表进行逆置(The inverse single chain table is written in the C language, and the algorithm can reverse the single chain table.)
LinearList
- 基于C++语言实现数据结构中的线性表。根据线性表的抽象数据类型的定义,以带头结点的单链表结构实现线性表,并完成线性表的基本功能。(A linear table in a data structure is implemented based on C++.)
单链表(无头结点) 10
- 用C++实现无头结点的单链表,自己做的题(C++ implements a single - chain table with a headless node that is done by yourself)
单链表
- 用 C 语言实现了一个单链表的基础的增删查改功能(This is a simple list with C)
parse
- c 实现单链表 生成 删除,插入,翻转等基本链表操作(C realizes single chain table generation, deletion, insertion, flipping and other basic chain operations.)