Topic: Stack Problem / Level: intermediate

Problem: Implement a function to reverse the digits of all prime-indexed numbers in a stack using recursion.

Run the code to see the output here...