Pergunta de entrevista da empresa KOHO

Had to do a coding test