登录
首页 » 数据结构 » 栈 单链表

栈 单链表

于 2022-03-06 发布 文件大小:1.39 kB
0 160
下载积分: 2 下载次数: 1

代码说明:

Java版栈和单链表数据结构的实现,并用相关实例测试了该程序的正确性。实际测试中,在Eclipse的Console端按要求输入数据,然后依次按Enter键和Ctrl+Z键结束当前输入,随后就可以看到相应的输出。

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

发表评论

0 个回复

  • 实现堆栈先入后出的功能
    堆栈是一种执行“先入后出”算法的存储器。数据一个一个顺序的存入(也就是压入——push)存储区中。有一个地址指针总是指向最后一个压入堆栈的数据所在的数据单元,存放这个地址的指针的寄存器叫做堆栈指示器。开始放入数据的单元叫做“栈底”,最后放入的数据的单元叫做“栈顶”。数据一个一个地存入,这个过程叫做“压栈”。在压栈的过程中,每有一个数据压入堆栈,就放在和前一个单元相连的后面的一个单元中,堆栈指示器中的地址自动加1。读取这些数据时,按照堆栈指示器中的地址读取数据,堆栈指示器的地址数自动减1,这个过程叫做“弹出——pop”。如此,就可以实现了“先入后出”的原则。
    2022-02-14 16:34:28下载
    积分:1
  • Computer algorithms designed for the design of dynamic programming, you know
    计算机算法设计,用于设计动态规划,你们懂得-Computer algorithms designed for the design of dynamic programming, you know
    2022-07-27 06:46:13下载
    积分:1
  • 访问的COM组件,主要在VC中使用
    访问数据的COM组件,主要在VC中使用-visit data COM, mainly in the use of VC
    2022-05-08 01:40:25下载
    积分:1
  • A very useful NET s SQL progam.
    非常实用的NET的SQL 程序-A very useful NET s SQL progam.
    2022-02-21 14:24:37下载
    积分:1
  • duiwenjiandechuli fangbianguanli。
    duiwenjiandechuli fangbianguanli.
    2022-03-26 00:05:25下载
    积分:1
  • 与算法
    数据结构与算法-二叉树的用法。 二叉树的主要算法,声明等。-Data structures and algorithms- the usage of a binary tree. The main binary tree algorithm, statements.
    2022-02-13 02:28:24下载
    积分:1
  • 在java中链接库,代码量不多,但是麻雀虽小,五脏俱全!...
    在java中链接数据库,代码量不多,但是麻雀虽小,五脏俱全!-in which links database, code volume is small, sparrow is small, perfectly formed!
    2023-08-22 20:25:04下载
    积分:1
  • 可以在打印之前并在程序内直接设置所有的参!
    可以在打印之前并在程序内直接设置所有的参数!-in print before the procedure and direct all the parameters set!
    2022-05-07 23:21:15下载
    积分:1
  • Data structure to solve the problem in the maze, the maze problem. Vcproj This i...
    数据结构中迷宫问题的求解,迷宫问题.vcproj 这是使用应用程序向导生成的 VC++ 项目的主项目文件。 它包含生成该文件的 Visual C++ 的版本信息,以及有关使用应用程序向导选择的平台、配置和项目功能的信息。 迷宫问题.cpp 这是主应用程序源文件。 StdAfx.h, StdAfx.cpp 这些文件用于生成名为 迷宫问题.pch 的预编译头 (PCH) 文件和名为 StdAfx.obj 的预编译类型文件。 -Data structure to solve the problem in the maze, the maze problem. Vcproj This is using an application wizard to generate the VC++ project the main project document. It contains the document to generate Visual C++ version information, as well as applications relating to the use of the wizard select the platform, configuration and project features. Maze problem. Cpp This is the main application source file. StdAfx.h, StdAfx.cpp these files used to generate a maze called the question. Pch precompiled header (PCH) files and named StdAfx.obj type of pre-compiled files.
    2022-06-21 21:34:29下载
    积分:1
  • Source code, is a java implementation to compare with the clarity and the first...
    源代码,是java实现的,比较清晰和第一部分一起的-Source code, is a java implementation to compare with the clarity and the first part of the
    2022-04-30 03:43:20下载
    积分:1
  • 696518资源总数
  • 106208会员总数
  • 21今日下载