Pergunta de entrevista da empresa Verily

Calculate a number based on a string of numbers and operands