C++ hackerrank reverse array solution

Published --