Pergunta de entrevista da empresa Zendesk

write code to counting characters in a string