Pergunta de entrevista da empresa GoFundMe

Write a function that brings back the unique values of each string. What is big o?