Pergunta de entrevista da empresa Verisk

sliding window question and a Joins Query.