Skip to content
Related Articles
Get the best out of our app
GeeksforGeeks App
Open App
geeksforgeeks
Browser
Continue

Related Articles

GATE | GATE 2017 MOCK II | Question 23

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

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
Last Updated : 28 Jun, 2021
Like Article
Save Article
Similar Reads