package adventoc2024
func reverse(s []int) {
start, end := 0, len(s)-1
for start < end {
s[start], s[end] = s[end], s[start]
start++
end--
}