单选题:Push and pop { 1, 2, 3, 4, 5, 6, 7 } sequentially into then out
Push and pop { 1, 2, 3, 4, 5, 6, 7 } sequentially into then out of a stack. Suppose that each number is pushed into a queue right after it gets out of the stack, and the dequeue sequence is { 1, 3, 5, 6, 4, 7, 2 }. If both the stack and the queue are initially empty, then the minimum size of the stack must be:
@[C](3)
A. 1
B. 2
C. 3
D. 4
A.1
B.2
C.3
D.4
答案:C
@[C](3)
A. 1
B. 2
C. 3
D. 4
A.1
B.2
C.3
D.4
答案:C