文件名称:jiudinizhi
下载
别用迅雷、360浏览器下载。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
介绍说明--下载内容均来自于网络,请自行研究使用
实验题目 就地逆置
一、 实验目的
用堆栈来实现链表的就地逆置(反转)
二、 实验内容
用链栈的方法在不重新申请空间的情况下实现链表的逆置。
三、 需求分析
先输入一组数据,把它存到栈里。然后通过pop( ),push()语句来实现使栈里的数据逆置。例如:输入1,2,3,4,5,6,7。则栈里存放7,6,5,4,3,2,1,再通过栈的操作使栈里存放1,2,3,4,5,6,7。
-experimental subject in situ reverse a home, the experiment used stack to achieve the local chain of home inverse (reverse) 2. Experiment with the chain stack method is not re-apply in the case of space to achieve the inverse home chain. 3, needs analysis, importing a set of data it onto Stack Lane. Then pop (), push () statement to the achievement of the data stack Lane inverse home. For example : an input, 2,3,4,5,6,7. Stack was placed Lane 7, 6,5,4,3,2,1, and through the stack so that the operation of stack storage of 1,2,3,4, 5, 6, 7.
一、 实验目的
用堆栈来实现链表的就地逆置(反转)
二、 实验内容
用链栈的方法在不重新申请空间的情况下实现链表的逆置。
三、 需求分析
先输入一组数据,把它存到栈里。然后通过pop( ),push()语句来实现使栈里的数据逆置。例如:输入1,2,3,4,5,6,7。则栈里存放7,6,5,4,3,2,1,再通过栈的操作使栈里存放1,2,3,4,5,6,7。
-experimental subject in situ reverse a home, the experiment used stack to achieve the local chain of home inverse (reverse) 2. Experiment with the chain stack method is not re-apply in the case of space to achieve the inverse home chain. 3, needs analysis, importing a set of data it onto Stack Lane. Then pop (), push () statement to the achievement of the data stack Lane inverse home. For example : an input, 2,3,4,5,6,7. Stack was placed Lane 7, 6,5,4,3,2,1, and through the stack so that the operation of stack storage of 1,2,3,4, 5, 6, 7.
相关搜索: PUSH
(系统自动生成,下载前可以参看下载内容)
下载文件列表
jiudinizhi.doc