Topic: Stack Problem / Level: intermediate

Problem: Create a function to reverse every third pair of elements in a stack without using an auxiliary stack.

Run the code to see the output here...