数据结构
2020-02
对空栈 S 进行 Push 和 Pop 操作,入栈序列为 a, b, c, d, e,经过 Push, Push, Pop, Push, Pop, Push, Push, Pop 操作后得到的出栈序列是( )。
A. b, a, c
B. b, a, e
C. b, c, a
D. b, c, e
答案
答案:D
2020 全国硕士研究生入学统一考试
对空栈 S 进行 Push 和 Pop 操作,入栈序列为 a, b, c, d, e,经过 Push, Push, Pop, Push, Pop, Push, Push, Pop 操作后得到的出栈序列是( )。
A. b, a, c
B. b, a, e
C. b, c, a
D. b, c, e
答案:D