Topic: Stack Problem / Level: beginner

Problem: Create a function to push elements from an array into a stack and pop them until a multiple of 3 is encountered.

Run the code to see the output here...