Add & solve reverseArrayInPlace