Pergunta de entrevista da empresa Cloudera

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