func (s Stack) Pop() (Stack, interface{}) {
	l := len(s)

	if l == 0 {
		return s, 0
	}

	res := s[l-1]
	s = s[:l-1]

	return s, res
}
// Pop pops the top of the stack
Pop pops the top of the stack
// Pop pops the top of the stack
func (s Stack) Pop() (Stack, interface{}) {
	l := len(s)
	if l == 0 {
		return s, 0
	}
	res := s[l-1]
	s = s[:l-1]
	return s, res
}
func ( s Stack ) Pop ( ) ( Stack , interface { } ) { l := len ( s ) if l == 0 { return s , 0 } res := s [ l - 1 ] s = s [ : l - 1 ] return s , res }
Pop pops the top of the stack
Pop pops the top of the stack