func (s *Stack[T]) Pop() (res T, err error) {
	if s.IsEmpty() {
		return res, errEmptyStack
	}
	return s.list.RemoveAt(s.Size() - 1)
}
// Pop remove from the stack
Pop remove from the stack
// Pop remove from the stack
func (s *Stack[T]) Pop() (res T, err error) {
	if s.IsEmpty() {
		return res, errEmptyStack
	}
	return s.list.RemoveAt(s.Size() - 1)
}
func ( s * Stack [ T ] ) Pop ( ) ( res T , err error ) { if s . IsEmpty ( ) { return res , errEmptyStack } return s . list . RemoveAt ( s . Size ( ) - 1 ) }
Pop remove from the stack
Pop remove from the stack