Pregunta de entrevista de Cloudera

remove duplicates from sorted array delete chars from strings to make them equal