Topic: Stack Problem / Level: beginner

Problem: Write a program to push elements into a stack and count how many of them are greater than the top element.

Run the code to see the output here...