Open In App

GATE | GATE 2017 MOCK II | Question 23

Like Article
Like
Save
Share
Report

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


Last Updated : 28 Jun, 2021
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads