W pseudokodzie:

Kopiuj
for i = 0 to n/2 - 1:
    swap(t[i], t[n - 1 - i])

gdzie t jest n-elementową tablicą, którą chcesz odwrócić.