Topic: Stack Problem / Level: intermediate

Problem: Create a function to reverse the digits of all prime numbers in a stack using recursion without using any auxiliary space.

Run the code to see the output here...