文件名称:2037
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:573byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
假设一个存储结构实现双向堆栈顺序,也就是说,一维数组的储存空间,有两个堆栈,他们位于底部的堆阵列的两个端点。尝试着去写实现双向堆Tws三种操作:最初的inistack(Tws),到堆栈推(Tws,我、x)和堆栈流行(Tws,我)算法,该算法可以我0或1,所以分别在一个数组或指示两端的两个堆栈。-Suppose a storage structure order implement a two-way stack, that is, the one dimensional array of storage space has two stack, they are located in the bottom of the stack of the array of two endpoints. Try to write to realize the two-way stack of Tws three operation: the initial inistack (Tws), into the stack push (Tws, I, x) and the stack pop (Tws, I) algorithm, which I 0 or 1, respectively in an array or so for instructions on both ends of the two stack.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
2037.CPP
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.