Pergunta de entrevista da empresa Susquehanna International Group

Several Questions about expectation and combinatorics