MCQOPTIONS
Saved Bookmarks
| 1. |
Let S be the original stack and S1 and S2 the two additional stacks then the following pseudo code is to reverse the stack S: while (S not empty) { push(S1,pop(S)); } while(S1 not empty) { push(S2,pop(S1)); } while(S2 not empty) { push(S,pop(S2)); } ? |
| A. | TRUE |
| B. | False |
| C. | Not Answer |
| Answer» B. False | |