Pergunta de entrevista da empresa Indeed

Oops concept, testing and coding problem