RosettaCodeData/Task/Stack/Go/stack-3.go

2 lines
73 B
Go
Raw Permalink Normal View History

2013-04-11 01:07:29 -07:00
popped, intStack = intStack[len(intStack)-1], intStack[:len(intStack)-1]