Topic: Stack Problem / Level: beginner

Problem: Write a function to push elements into a stack and remove the element closest to the median value.

Run the code to see the output here...