You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Stack class does not consider what will happen if the stack is empty. The regular stack class would throw an exception, but this stack class doesn't. Maybe implement that in the future when you want?