文件名称:两栈共享空间
介绍说明--下载内容来自于网络,使用问题请自行百度
如果我们有两个相同类型的栈,我们为他们各自开辟了数组空间,极有可能第一个栈已经满了,再进栈就溢出了,而另一个栈还有很多存储空间空闲。这时,我们完全可以用一个数组两存储两个栈。(f we have two identical types of stack, we have opened up the array space for them. It is very likely that the first stack is full, then the stack will overflow, and the other stack will have many storage space. At this point, we can store two stacks with an array two completely.)
相关搜索: 两栈共享空间
(系统自动生成,下载前可以参看下载内容)
下载文件列表
文件名 | 大小 | 更新时间 |
---|---|---|
两栈共享空间\SharedStack.cpp | 1556 | 2017-10-27 |
两栈共享空间\SharedStack.h | 531 | 2017-10-27 |
两栈共享空间\text.cpp | 1007 | 2017-10-27 |
两栈共享空间 | 0 | 2018-02-12 |
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。