Topic: Stack Problem / Level: beginner

Problem: Implement a stack that keeps track of the sum of its elements at each push operation.

Run the code to see the output here...