Xoriant Interview Question

WAP to reverse an array without creating a new array