Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Operations only work if stack has the numbers to do that operation #5

Open
vasco-castro opened this issue Jan 14, 2025 · 0 comments
Open

Comments

@vasco-castro
Copy link
Owner

vasco-castro commented Jan 14, 2025

Ex1: can't do push if there's no number in the stack pushing to the other.
Ex2: can't swap if there's less than 2 numbers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant