package
0.0.0-20241126132414-a6474f9c9b52
Repository: https://github.com/talgat-ruby/exercises-go.git
Documentation: pkg.go.dev
# README
Problem 2
Create a Stack data structure.
Methods:
- Push
Add an element to the top of the Stack.
- Pop
Remove an element at the top of the Stack.
- Peek
Get the element at the top of the Stack without removing it.
- Size
Get the size of the Stack.
- IsEmpty
Check if the Stack is empty.
! Please check the tests for signature and more examples.