Topic: Stack Problem / Level: beginner

Problem: Implement a function to push the digits of a number into a stack and reverse them if the number is a perfect cube.

Run the code to see the output here...