GATE | GATE 2017 MOCK II | Question 23

Considering the data given in the previous question, if the stack A had 4 entries, then the number of possible permutations that can be printed will be:

(A) 24
(B) 12
(C) 21
(D) 14


Answer: (D)

Explanation: rsz_stack

rsz_stack2

Quiz of this Question

My Personal Notes arrow_drop_up
Article Tags :

Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.