Pergunta de entrevista da empresa DigitalFlake

Introduction, find the number occurrence of characters in a string