Pergunta de entrevista da empresa ION Group

One question was to find the missing pattern