Ocelot interview question

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