Given a stack S, need to sort the stack using only Push, Pop, Top, IsEmpty, IsFull.
Push
Pop
Top
IsEmpty
IsFull
Looking for most sim
To bad you couldn't have two other stacks, then you could have played the Towers of Hanoi in O(n) space.