Introduction to Computer Programming:

Reverse Array In-place