Topic: Stack Problem / Level: beginner

Problem: Implement a function to push elements into a stack and pop the first element that is greater than a given value.

Run the code to see the output here...