Yahoo interview question

Reverse a stack