陈越、何钦铭-数据结构作业7:Pop Sequence出栈序列检验
文件大小: 4k
源码售价: 10 个金币 积分规则     积分充值
资源说明:Given a stack which can keep M numbers at most. Push N numbers in the order of 1, 2, 3, ..., N and pop randomly. You are supposed to tell if a given sequence of numbers is a possible pop sequence of the stack. For example, if M is 5 and N is 7, we can obtain 1, 2, 3, 4, 5, 6, 7 from the stack, but not 3, 2, 1, 7, 5, 6, 4.
本源码包内暂不包含可直接显示的源代码文件,请下载源码包。