IONOS interview question

Task: Reverse a slice in Golang