1.

Using Pop (S1,Item) ,Push(S1, Item), Getlist(Item), Pop(S2,Item), and the variables S1,S2(stacks with Top1 and Top2) and Item and given the input file: A,B,C,D,E,F Which stack are possible?

A. No possible stacks with A,B,C,D,E and F
B. All possible stacks with A,B,C,D,E and F
C. Twice as many stacks as can be produced with S1 alone
D. Exact and only those stacks which can be produced with S1 alone
Answer» B. All possible stacks with A,B,C,D,E and F


Discussion

No Comment Found