LTM Limited Interview Question

1) Reverse of a string 2) Remove duplicate elements from an array