go Hints

Hints You can use the following slice operations to solve the exercise: Prepends "value" to the slice: slice = append([]string{"value"}, slice...) Appends some part (N to M) of the same slice to itsel
阅读全文

go Hints

Hints millions slice's backing array uses 65 MB of memory. make a new slice with 10 elements with a new backing array. copy the last 10 elements of the millions slice to the new slice. So you will hav
阅读全文