Pergunta de entrevista da empresa Ocelot

In the first interview, there was a simple coding challenge to assess the candidate's coding abilities