Pergunta de entrevista da empresa Meta

First one focused on arrays, involving some math logic. The second was a string problem, where I had to read a string in order to understand what characters should be in the string I would create and return.