Challenge: Stack Using Array
Learn how to implement a stack by using arrays.
Problem
Implement a stack using a fixed-length array.
Function prototypes
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 ...