

MCQOPTIONS
Saved Bookmarks
1. |
Stack A has the entries a,b,c(with a on top). Stack B is empty.An entry popped out of stack A can be printed immediately or pushed to stack B.An entry popped out of the stack B can only be printed. In this arrangement, which of the following permutations of a,b,c are not possible? |
A. | b c a |
B. | b a c |
C. | c b a |
D. | c a b |
Answer» E. | |