Pergunta de entrevista da empresa Gosoft (Thailand)

Solve the time series problem