EY interview question

1. Reverse the String but the space should be same. 2. Write a program to find the distinct elements in an array. 3. Find only alphanumeric values in string array.