Which sorting algorithms would be good to sort a Stack for space efficiency? I need to sort a stack 'in place.' Also my understanding of 'in place' algorithms was that they don't use any additional data structures - is this correct?
I know this is similar to this question but I'm wondering if it would be different for stacks? I know stacks can just be a type of linkedlist, but does the fact that you can only access the top change how you would do it?