输入序列ABCABC经过栈操作变成ABCCBA,下面哪些是可能的栈操作( )A、push pop push pop push pop pushpush push pop pop pop //ABCCBAB、push push push push push push poppop pop pop pop pop //CBACBAC、push push push pop pop pop pushpush pop pop push pop //CBABACD、push push push push pop pushpop push pop pop pop pop //ABCCBA
输入序列ABCABC经过栈操作变成ABCCBA,下面哪些是可能的栈操作( )
A、push pop push pop push pop pushpush push pop pop pop //ABCCBA
B、push push push push push push poppop pop pop pop pop //CBACBA
C、push push push pop pop pop pushpush pop pop push pop //CBABAC
D、push push push push pop pushpop push pop pop pop pop //ABCCBA
发布时间:2024-09-30 22:14:31