Pergunta de entrevista da empresa Persistent Systems

Calculate spaces and alphabates in the given string.