...

/

Challenge: Sort Stack

Challenge: Sort Stack

Let’s sort the elements of a stack.

We'll cover the following...

Problem

Given a stack, sort elements such that the largest value is at the top.

Input

A stack of integers.

Output

...