Pergunta de entrevista da empresa Ironclad

Had to solve an intermediate code challenge