Topic: Stack Problem / Level: beginner

Problem: Implement a function to push elements into a stack and check if the sum of the top k elements is divisible by 10.

Run the code to see the output here...