Pergunta de entrevista da empresa Deutsche Bank

Any filter formula to be explained