Pergunta de entrevista da empresa Epic

finding patterns within a list of sequential numbers