Topic: Stack Problem / Level: intermediate

Problem: Implement a function to reverse every second group of elements in a stack while leaving the top element unchanged.

Run the code to see the output here...