Cloudera Interview Question

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