Challenge: Stack Using Array
Learn how to implement a stack by using arrays.
We'll cover the following...
Problem
Implement a stack using a fixed-length array.
Function prototypes
Press + to interact
func (s *StackInt) IsEmpty() bool {}func (s *StackInt) Length() int {}func (s *StackInt) Print() {}func (s *StackInt) Push(value int) {}func (s *StackInt) Pop() int {}func (s *StackInt) Top() int {}
Here, the ...