设一数列的输入顺序为 123456 ,若采用堆栈结构,并以 X 和 Y 分别表示入栈和出栈操作,试问通过入出栈操作的合法序列。 ( 1 ) 能否得到输出顺序为 325641 的序列。 ( 2 ) 能否得到输出顺序为 154623 的序列。
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【简答题】To take one example: how largely our opinions on the merits of certain authors, or poets, or composers, are dictated merely by fashion ! (Para. 20) For example, our opinions of _______________________...
【判断题】When present your team homework, please also take one company as an good example to introduce, explain, and support your views on its type of organizational culture in class of 9/06
【简答题】英译汉练习 Secondly, the manager today has to manage with an increasing rate of technical change – this is allied to the competitive and challenging business environment. A particular example of this is th...