Sony Interview Question

print a alternative array elements in revers order