登录
首页 » 算法 » 线性表的链式存储结构

线性表的链式存储结构

于 2022-10-19 发布 文件大小:5.63 kB
0 220
下载积分: 2 下载次数: 1

代码说明:

实验二  线性表的链式存储结构 题目:设计并实现以下算法:给出用单链表存储多项式的结构,利用后接法生成多项式的单链表结构,实现两个多项式相加的运算,并就地逆置相加后的多项式链式。1.  用户可以根据自己的需求分别输入两个一元多项式,并且能够实现输入的一元多项式的显示。2.  能够完成两个一元多项式的相加功能,而且还能显示相加后的逆置的一元多项式。3.  程序执行的命令包括:(1)构造链表A    (2)构造链表B   (3)两个链表的相加    (4)求链表的长度  (5)打印(显示)已有的链表        (6)将已相加的链表进行逆序排列

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Learnin Mathematics with the ABACUS Activity
    Learnin Mathematics with the ABACUS Activity-book part 8
    2022-08-09 12:45:02下载
    积分:1
  • antcolony 蚁群觅食模拟
    antcolony 蚁群觅食模拟-antcolony ant foraging simulation
    2022-04-13 04:16:35下载
    积分:1
  • Algorithm design in the 0
    算法设计中的0-1背包问题,递归的应用 算法设计中的0-1背包问题,递归的应用-Algorithm design in the 0-1 knapsack problem, recursive application of algorithm design in the 0-1 knapsack problem, recursive application of
    2022-02-26 18:53:13下载
    积分:1
  • 四十三种差分格式的fortran源代码,网上下载来的,呵呵,好东西,推荐。...
    四十三种差分格式的fortran源代码,网上下载来的,呵呵,好东西,推荐。-43 species difference format FORTRAN source code to the Internet to download, what good things, recommended.
    2022-12-25 22:25:03下载
    积分:1
  • 是CA算法的test程序,用于描述微观枝晶长大的代码!
    是CA算法的test程序,用于描述微观枝晶长大的代码!-CA algorithm is the test procedure, used to describe the micro-dendrites grew up in the code!
    2022-08-25 16:22:03下载
    积分:1
  • massive mimo THP algrorithm
    应用背景On the Design of ZF and MMSE Tomlinson-Harashima Precoding in Multiuser MIMO Amplify-and-Forward Relay System,it is main described the mimo system in the multi-user  scenario.the main precoding algrithm is combined the zf precoding and the MMSE precoding.关键技术we design a zero-forcing (ZF) Tomlinson-Harashima precoding (THP) and a minimum mean square error (MMSE) THP for multiuser MIMO relay system with direct link. Based on these precoding structures, we propose the optimal combining weights of the ZF THP and the MMSE THP in half duplex relay system, and the sub-optimal weights of MMSE THP to reduce feedback channel state information(CSI). Through the Monte Carlo simulation, we verify that the optimal weights combining method outperforms the constant weights combining method. In addition, we confirm that the performance of the sub-optimal weights combining method is&
    2023-02-25 18:10:03下载
    积分:1
  • 金建铭编写的最为经典的一版电磁场有限元方法,电子版
    金建铭编写的最为经典的一版电磁场有限元方法,电子版-Electromagnetic FEM written by Jin Jianming
    2022-04-01 15:36:40下载
    积分:1
  • 一个矩阵类的实现,有加减乘除、求逆、转置等功能,应该是一个不错的实用程序。...
    一个矩阵类的实现,有加减乘除、求逆、转置等功能,应该是一个不错的实用程序。-a matrix of type, and it is the arithmetic, inversion, transpose function, it should be a good utility.
    2022-05-18 19:22:16下载
    积分:1
  • % [nearest_neighbours] = find_nearest_neighbours( database, desc, max_dist ) %...
    % [nearest_neighbours] = find_nearest_neighbours( database, desc, max_dist ) % Find the indices of the nearest neighbours of the given desriptors in the近邻点寻找算法,在非线性时间序列中很有用,是常用的算法- [Nearest_neighbours] = find_nearest_neighbours (database, desc, max_dist) Find the indices of the nearest neighbours of the given desriptors in the neighbor-point search algorithm, the nonlinear time series of very useful, is a commonly used algorithm
    2022-05-24 09:30:26下载
    积分:1
  • 用C# 生成128CODE条形码图片
    应用背景扫描枪在扫描货品条码时,虽然可以在电脑上显示出扫描到的数字,但是不能显示条码图片。我们在应用的过程中可能需要将条码一起打印出来显示在一张A4纸上。所以可以利用这个类生成相应的128条形码图片,然后插入到word中,并将相应的条码(包含条码图形)打印出来。这类应用在仓库管理中应用较多,比如要把一个货架上的所有箱码打印显示在A4纸上。然后扫描枪只要扫描这张纸上的条码就可以知道这个货架上有哪些货。关键技术代码的核心是它将128码的码制定义在一张DataTable表中,这个表中记录了每个数字和字母对应的条形码编号,用这些编号来生成条形码。比如你给一串数字,要生成一个条形码时,代码会取出这串数字每个数,然后查询这张表格,记录每个数在表格中对应的位置。这些索引形成一个list,然后根据这个list生成一个bimap,最后保存为图片。
    2022-12-19 03:25:02下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载