Update: change the solution to follow instrucion
Step 7 of the exercise instruction wants us to "slice only the first 1000 elements of the array", not slicing after the first 1000 elements of the array.
This commit is contained in:
@ -31,7 +31,7 @@ func main() {
|
||||
passArray(array)
|
||||
|
||||
slice1 := array[:]
|
||||
slice2 := array[1e3:]
|
||||
slice2 := array[:1e3]
|
||||
slice3 := array[1e3:1e4]
|
||||
report("after slicings")
|
||||
|
||||
|
Reference in New Issue
Block a user