Topic: Stack Problem / Level: beginner

Problem: Create a function to push elements into a stack and reverse only the odd-numbered elements.

Run the code to see the output here...