Topic: Stack Problem / Level: beginner

Problem: Create a function to pop elements from a stack and return the smallest element.

Run the code to see the output here...