Pregunta de entrevista de LTM Limited

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