Skip to content
Related Articles

Related Articles

Improve Article

GATE | GATE 2017 MOCK II | Question 23

  • Last Updated : 28 Jun, 2021
Geek Week

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


Quiz of this Question

Attention reader! Don’t stop learning now.  Practice GATE exam well before the actual exam with the subject-wise and overall quizzes available in GATE Test Series Course.

Learn all GATE CS concepts with Free Live Classes on our youtube channel.

My Personal Notes arrow_drop_up
Recommended Articles
Page :