...

/

Challenge 2: Reverse a Stack

Challenge 2: Reverse a Stack

Given a stack, reverse the contents of the stack.

Problem Statement

Implement a function that takes a stack, testVariable, and reverses it. Do not use any other extra stack or data structure.

...