Skip to content
Related Articles
Open in App
Not now

Related Articles

GATE | GATE 2017 MOCK II | Question 23

Improve Article
Save Article
Like Article
  • Last Updated : 28 Jun, 2021
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
Like Article
Save Article
Related Articles

Start Your Coding Journey Now!