Saved Bookmarks
| 1. |
Linked Questions 22-23Stack A has the entries as following sequence a, b, c (with ‘a’ on top), stack B is empty, as shown in the diagram below.An entry popped out of stack A can be printed or pushed to stack B. An entry popped out of stack B can only be printed.In this arrangement which of the following permutation of a, b, c are not possible to print?(i) bac(ii) bca(iii) cab(iv) abc(A) (i), (ii) and (iii)(B) (iv) Only(C) (iii) Only(D) (ii) and (iii) Only |
| Answer» | |