hariprasadraja
10/1/2019 - 11:00 AM

go slice push front

we can use slice as stack. This snippet is used to push the elements at the begining of the stack

	arr = append([]int{arr[len(arr)-1]}, arr...)