Transfer elements from stack S1 to stack S2 so that the elements from S2 are in the same order as on S1
a. using one additional stack
b. using no additional stack but only some additional nonarray variables
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.