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

Python - handle exception when get top of empty stack #294

Closed
khanh96le opened this issue Oct 5, 2018 · 1 comment · Fixed by #300
Closed

Python - handle exception when get top of empty stack #294

khanh96le opened this issue Oct 5, 2018 · 1 comment · Fixed by #300

Comments

@khanh96le
Copy link

Need to check if the stack is empty before getting top of stack

@sangamcse
Copy link
Member

GitMate.io thinks a possibly related issue is #37 ([DataStructure] Stack [Python]).

@sangamcse sangamcse added the bug Something isn't working label Oct 5, 2018
szabopeter added a commit to szabopeter/Algorithms that referenced this issue Oct 5, 2018
szabopeter added a commit to szabopeter/Algorithms that referenced this issue Oct 5, 2018
sangamcse pushed a commit to szabopeter/Algorithms that referenced this issue Oct 14, 2018
sangamcse pushed a commit to szabopeter/Algorithms that referenced this issue Oct 14, 2018
sangamcse pushed a commit that referenced this issue Oct 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants