Pergunta de entrevista da empresa Charlie Health

Medium hard coding question in LC