单选题

对于入栈顺序为a, b, c, d, e, f, g 的序列,下列()不可能是合法的出栈序列。

A

a,b,c,d,e,f,g

B

a,d,c,b,e,g,f

C

a,d,b,c,g,f,e

D

g,f,e,d,c,b,a

赣ICP备20007335号-2